Package com.sun.xml.ws.api.model
Interface CheckedException
-
- All Known Implementing Classes:
CheckedExceptionImpl
public interface CheckedExceptionThis class provides abstractio to the the exception class corresponding to the wsdl:fault, such as class MUST haveWebFaultannotation defined on it. Also the exception class must havepublic WrapperException()String message, FaultBean){}and methodpublic FaultBean getFaultInfo();- Author:
- Vivek Pandey
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description BridgegetBridge()Deprecated.Why do you need this?ClassgetDetailBean()The detail bean is serialized inside the detail entry in the SOAP message.TypeInfogetDetailType()Gives theTypeInfoof the detailClassgetExceptionClass()The returned exception class would be userdefined or WSDL exception class.ExceptionTypegetExceptionType()Tells whether the exception class is a userdefined or a WSDL exception.StringgetMessageName()Gives the wsdl:portType/wsdl:operation/wsdl:fault@message value - that is the wsdl:message referenced by wsdl:faultSEIModelgetOwner()Gets the rootSEIModelthat owns this model.JavaMethodgetParent()Gets the parentJavaMethodto which this checked exception belongs.
-
-
-
Method Detail
-
getParent
JavaMethod getParent()
Gets the parentJavaMethodto which this checked exception belongs.
-
getExceptionClass
Class getExceptionClass()
The returned exception class would be userdefined or WSDL exception class.- Returns:
- always non-null same object.
-
getDetailBean
Class getDetailBean()
The detail bean is serialized inside the detail entry in the SOAP message. This must be known to theJAXBContextinorder to get marshalled/unmarshalled.- Returns:
- the detail bean
-
getBridge
Bridge getBridge()
Deprecated.Why do you need this?Gives theBridgeassociated with the detail
-
getExceptionType
ExceptionType getExceptionType()
Tells whether the exception class is a userdefined or a WSDL exception. A WSDL exception class follows the pattern defined in JSR 224. According to that a WSDL exception class must have:public WrapperException()String message, FaultBean){}and accessor methodpublic FaultBean getFaultInfo();
-
getMessageName
String getMessageName()
Gives the wsdl:portType/wsdl:operation/wsdl:fault@message value - that is the wsdl:message referenced by wsdl:fault
-
-