java.lang.Object
com.sun.xml.ws.model.CheckedExceptionImpl
- All Implemented Interfaces:
CheckedException
CheckedException class. Holds the exception class - class that has public
constructor
public WrapperException()String message, FaultBean){}
and method
public FaultBean getFaultInfo();
- Author:
- Vivek Pandey
-
Constructor Summary
ConstructorDescriptionCheckedExceptionImpl
(JavaMethodImpl jm, Class exceptionClass, TypeInfo detail, ExceptionType exceptionType) -
Method Summary
Modifier and TypeMethodDescriptiongetBond()
The 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.void
setFaultAction
(String faultAction) void
setFaultInfoGetter
(Method faultInfoGetter) void
setMessageName
(String messageName)
-
Constructor Details
-
CheckedExceptionImpl
public CheckedExceptionImpl(JavaMethodImpl jm, Class exceptionClass, TypeInfo detail, ExceptionType exceptionType) - Parameters:
jm
-JavaMethodImpl
that throws this exceptionexceptionClass
- User defined or WSDL exception class that extends java.lang.Exception.detail
- detail or exception bean's TypeReferenceexceptionType
- either ExceptionType.UserDefined or
-
-
Method Details
-
getOwner
Description copied from interface:CheckedException
Gets the rootSEIModel
that owns this model.- Specified by:
getOwner
in interfaceCheckedException
-
getParent
Description copied from interface:CheckedException
Gets the parentJavaMethod
to which this checked exception belongs.- Specified by:
getParent
in interfaceCheckedException
-
getExceptionClass
Description copied from interface:CheckedException
The returned exception class would be userdefined or WSDL exception class.- Specified by:
getExceptionClass
in interfaceCheckedException
- Returns:
- the
Class
for this object
-
getDetailBean
Description copied from interface:CheckedException
The detail bean is serialized inside the detail entry in the SOAP message. This must be known to theJAXBContext
inorder to get marshalled/unmarshalled.- Specified by:
getDetailBean
in interfaceCheckedException
- Returns:
- the detail bean
-
getBond
-
getDetailType
Description copied from interface:CheckedException
Gives theTypeInfo
of the detail- Specified by:
getDetailType
in interfaceCheckedException
-
getExceptionType
Description copied from interface:CheckedException
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();
- Specified by:
getExceptionType
in interfaceCheckedException
-
getMessageName
Description copied from interface:CheckedException
Gives the wsdl:portType/wsdl:operation/wsdl:fault@message value - that is the wsdl:message referenced by wsdl:fault- Specified by:
getMessageName
in interfaceCheckedException
-
setMessageName
-
getFaultAction
-
setFaultAction
-
getDefaultFaultAction
-
getFaultInfoGetter
-
setFaultInfoGetter
-