Package com.sun.xml.ws.model
Class CheckedExceptionImpl
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
ConstructorsConstructorDescriptionCheckedExceptionImpl(JavaMethodImpl jm, Class exceptionClass, TypeInfo detail, ExceptionType exceptionType) -
Method Summary
Modifier and TypeMethodDescriptiongetBond()com.sun.xml.bind.api.BridgeDeprecated.The detail bean is serialized inside the detail entry in the SOAP message.Gives theTypeInfoof 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 rootSEIModelthat owns this model.Gets the parentJavaMethodto which this checked exception belongs.voidsetFaultAction(String faultAction) voidsetFaultInfoGetter(Method faultInfoGetter) voidsetMessageName(String messageName)
-
Constructor Details
-
CheckedExceptionImpl
public CheckedExceptionImpl(JavaMethodImpl jm, Class exceptionClass, TypeInfo detail, ExceptionType exceptionType) - Parameters:
jm-JavaMethodImplthat 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:CheckedExceptionGets the rootSEIModelthat owns this model.- Specified by:
getOwnerin interfaceCheckedException
-
getParent
Description copied from interface:CheckedExceptionGets the parentJavaMethodto which this checked exception belongs.- Specified by:
getParentin interfaceCheckedException
-
getExceptionClass
Description copied from interface:CheckedExceptionThe returned exception class would be userdefined or WSDL exception class.- Specified by:
getExceptionClassin interfaceCheckedException- Returns:
- the
Classfor this object
-
getDetailBean
Description copied from interface:CheckedExceptionThe detail bean is serialized inside the detail entry in the SOAP message. This must be known to theJAXBContextinorder to get marshalled/unmarshalled.- Specified by:
getDetailBeanin interfaceCheckedException- Returns:
- the detail bean
-
getBridge
public com.sun.xml.bind.api.Bridge getBridge()Deprecated.Description copied from interface:CheckedExceptionGives theBridgeassociated with the detail- Specified by:
getBridgein interfaceCheckedException
-
getBond
-
getDetailType
Description copied from interface:CheckedExceptionGives theTypeInfoof the detail- Specified by:
getDetailTypein interfaceCheckedException
-
getExceptionType
Description copied from interface:CheckedExceptionTells 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:
getExceptionTypein interfaceCheckedException
-
getMessageName
Description copied from interface:CheckedExceptionGives the wsdl:portType/wsdl:operation/wsdl:fault@message value - that is the wsdl:message referenced by wsdl:fault- Specified by:
getMessageNamein interfaceCheckedException
-
setMessageName
-
getFaultAction
-
setFaultAction
-
getDefaultFaultAction
-
getFaultInfoGetter
-
setFaultInfoGetter
-