|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExceptionHandler
ExceptionHandler provides databinding-specific logic for exception handling
Method Summary | |
---|---|
java.lang.Exception |
createException(DataType<DataType> exceptionType,
java.lang.String message,
java.lang.Object faultInfo,
java.lang.Throwable cause)
Create an exception to wrap the fault data |
java.lang.Object |
getFaultInfo(java.lang.Exception exception)
Retrieve the fault info from a java exception |
DataType<?> |
getFaultType(DataType exceptionDataType)
Introspect an exception class to figure out the fault data type |
Method Detail |
---|
java.lang.Exception createException(DataType<DataType> exceptionType, java.lang.String message, java.lang.Object faultInfo, java.lang.Throwable cause)
exceptionType
- The DataType for the exceptionmessage
- The error messagefaultInfo
- The databinding-specific fault datacause
- The protocol-specific error
java.lang.Object getFaultInfo(java.lang.Exception exception)
exception
- The databinding-specific java exception that represents
the fault data
DataType<?> getFaultType(DataType exceptionDataType)
exceptionDataType
- The exception class
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |