|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface FaultExceptionMapper
This interface represents the mapping between WSDL faults and Java exceptions
Method Summary | |
---|---|
java.lang.Object |
getFaultInfo(java.lang.Throwable exception,
java.lang.Class<?> faultBeanClass,
Operation operation)
Retrieve the fault info from a java exception |
boolean |
introspectFaultDataType(DataType<DataType> exceptionDataType,
Operation operation,
boolean generatingFaultBean)
Introspect an exception class to find out the fault data type following the WSDL2Java mapping rules. |
java.lang.Throwable |
wrapFaultInfo(DataType<DataType> exceptionType,
java.lang.String message,
java.lang.Object faultInfo,
java.lang.Throwable cause,
Operation operation)
Create a java exception to wrap the fault data |
Method Detail |
---|
boolean introspectFaultDataType(DataType<DataType> exceptionDataType, Operation operation, boolean generatingFaultBean)
exceptionDataType
- The data type representing a java exception classoperation
- TODOgeneratingFaultBean
- If JAXWS Section 3.7 Fault Bean will be generated
java.lang.Throwable wrapFaultInfo(DataType<DataType> exceptionType, java.lang.String message, java.lang.Object faultInfo, java.lang.Throwable cause, Operation operation)
exceptionType
- The DataType for the exceptionmessage
- message for the exceptionfaultInfo
- The fault datacause
- of the exceptionoperation
- TODO
java.lang.Object getFaultInfo(java.lang.Throwable exception, java.lang.Class<?> faultBeanClass, Operation operation)
exception
- The java exception that represents the fault datafaultBeanClass
- operation
- TODO
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |