- All Known Implementing Classes:
CheckedExceptionImpl
public interface CheckedException
This class provides abstractio to the the exception class
corresponding to the wsdl:fault, such as class MUST have
WebFault
annotation defined on it.
Also the exception class must have
public WrapperException()String message, FaultBean){}
and method
public FaultBean getFaultInfo();
- Author:
- Vivek Pandey
-
Method Summary
Modifier and TypeMethodDescriptionThe detail bean is serialized inside the detail entry in the SOAP message.Gives theTypeInfo
of the detailThe returned exception class would be userdefined or WSDL exception class.Tells whether the exception class is a userdefined or a WSDL exception.Gives the wsdl:portType/wsdl:operation/wsdl:fault@message value - that is the wsdl:message referenced by wsdl:faultgetOwner()
Gets the rootSEIModel
that owns this model.Gets the parentJavaMethod
to which this checked exception belongs.
-
Method Details
-
getOwner
SEIModel getOwner()Gets the rootSEIModel
that owns this model. -
getParent
JavaMethod getParent()Gets the parentJavaMethod
to 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 theJAXBContext
inorder to get marshalled/unmarshalled.- Returns:
- the detail bean
-
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 -
getDetailType
TypeInfo getDetailType()Gives theTypeInfo
of the detail
-