|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
cascading.CascadingException
cascading.tap.TapException
public class TapException
Class TapException is thrown from Tap and Scheme subclasses.
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 Summary | |
|---|---|
TapException()
Constructor TapException creates a new TapException instance. |
|
TapException(String string)
Constructor TapException creates a new TapException instance. |
|
TapException(String string,
Throwable throwable)
Constructor TapException creates a new TapException instance. |
|
TapException(String string,
Throwable throwable,
Tuple payload)
Constructor TapException creates a new TapException instance. |
|
TapException(String string,
Tuple payload)
Constructor TapException creates a new TapException instance. |
|
TapException(Tap tap,
Fields incomingFields,
Fields selectorFields,
Throwable throwable)
Constructor TapException creates a new TapException instance. |
|
TapException(Throwable throwable)
Constructor TapException creates a new TapException instance. |
|
| Method Summary | |
|---|---|
Tuple |
getPayload()
|
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public TapException()
public TapException(String string)
string - of type String
public TapException(String string,
Throwable throwable)
string - of type Stringthrowable - of type Throwable
public TapException(String string,
Throwable throwable,
Tuple payload)
string - of type Stringthrowable - of type Throwablepayload - of type Tuple
public TapException(String string,
Tuple payload)
string - of type Stringpayload - of type Tuplepublic TapException(Throwable throwable)
throwable - of type Throwable
public TapException(Tap tap,
Fields incomingFields,
Fields selectorFields,
Throwable throwable)
tap - of type TapincomingFields - of type FieldsselectorFields - of type Fieldsthrowable - of type Throwable| Method Detail |
|---|
public Tuple getPayload()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||