public class TapException extends CascadingException
Tap
and Scheme
subclasses.
Use the payload Tuple
constructor if being thrown from inside a Scheme and which for specific data
to be trapped by a failure trap Tap. If the payload is not null, and there is a trap covering the source or sink
Tap in question, it will be written to the trap Tap.Constructor and Description |
---|
TapException()
Constructor TapException creates a new TapException instance.
|
TapException(java.lang.String string)
Constructor TapException creates a new TapException instance.
|
TapException(java.lang.String string,
java.lang.Throwable throwable)
Constructor TapException creates a new TapException instance.
|
TapException(java.lang.String string,
java.lang.Throwable throwable,
Tuple payload)
Constructor TapException creates a new TapException instance.
|
TapException(java.lang.String string,
Tuple payload)
Constructor TapException creates a new TapException instance.
|
TapException(Tap tap,
Fields incomingFields,
Fields selectorFields,
java.lang.Throwable throwable)
Constructor TapException creates a new TapException instance.
|
TapException(java.lang.Throwable throwable)
Constructor TapException creates a new TapException instance.
|
Modifier and Type | Method and Description |
---|---|
Tuple |
getPayload() |
public TapException()
public TapException(java.lang.String string)
string
- of type Stringpublic TapException(java.lang.String string, java.lang.Throwable throwable)
string
- of type Stringthrowable
- of type Throwablepublic TapException(java.lang.String string, java.lang.Throwable throwable, Tuple payload)
string
- of type Stringthrowable
- of type Throwablepayload
- of type Tuplepublic TapException(java.lang.String string, Tuple payload)
string
- of type Stringpayload
- of type Tuplepublic TapException(java.lang.Throwable throwable)
throwable
- of type Throwablepublic TapException(Tap tap, Fields incomingFields, Fields selectorFields, java.lang.Throwable throwable)
tap
- of type TapincomingFields
- of type FieldsselectorFields
- of type Fieldsthrowable
- of type Throwablepublic Tuple getPayload()
Copyright © 2007-2015 Xplenty, Inc. All Rights Reserved.