Package com.sun.xml.ws.model
Class CheckedExceptionImpl
- java.lang.Object
-
- com.sun.xml.ws.model.CheckedExceptionImpl
-
- All Implemented Interfaces:
CheckedException
public final class CheckedExceptionImpl extends Object implements CheckedException
CheckedException class. Holds the exception class - class that has public constructorpublic WrapperException()String message, FaultBean){}and methodpublic FaultBean getFaultInfo();- Author:
- Vivek Pandey
-
-
Constructor Summary
Constructors Constructor Description CheckedExceptionImpl(JavaMethodImpl jm, Class exceptionClass, TypeInfo detail, ExceptionType exceptionType)
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description XMLBridgegetBond()org.glassfish.jaxb.runtime.api.BridgegetBridge()Deprecated.StringgetDefaultFaultAction()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.StringgetFaultAction()MethodgetFaultInfoGetter()StringgetMessageName()Gives the wsdl:portType/wsdl:operation/wsdl:fault@message value - that is the wsdl:message referenced by wsdl:faultAbstractSEIModelImplgetOwner()Gets the rootSEIModelthat owns this model.JavaMethodgetParent()Gets the parentJavaMethodto which this checked exception belongs.voidsetFaultAction(String faultAction)voidsetFaultInfoGetter(Method faultInfoGetter)voidsetMessageName(String messageName)
-
-
-
Constructor Detail
-
CheckedExceptionImpl
public CheckedExceptionImpl(JavaMethodImpl jm, Class exceptionClass, TypeInfo detail, ExceptionType exceptionType)
- Parameters:
jm-JavaMethodImplthat throws this exceptionexceptionClass- Userdefined or WSDL exception class that extends java.lang.Exception.detail- detail or exception bean's TypeReferenceexceptionType- either ExceptionType.UserDefined or
-
-
Method Detail
-
getOwner
public AbstractSEIModelImpl getOwner()
Description copied from interface:CheckedExceptionGets the rootSEIModelthat owns this model.- Specified by:
getOwnerin interfaceCheckedException
-
getParent
public JavaMethod getParent()
Description copied from interface:CheckedExceptionGets the parentJavaMethodto which this checked exception belongs.- Specified by:
getParentin interfaceCheckedException
-
getExceptionClass
public Class getExceptionClass()
Description copied from interface:CheckedExceptionThe returned exception class would be userdefined or WSDL exception class.- Specified by:
getExceptionClassin interfaceCheckedException- Returns:
- the
Class for this object
-
getDetailBean
public Class 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 org.glassfish.jaxb.runtime.api.Bridge getBridge()
Deprecated.Description copied from interface:CheckedExceptionGives theBridgeassociated with the detail- Specified by:
getBridgein interfaceCheckedException
-
getBond
public XMLBridge getBond()
-
getDetailType
public TypeInfo getDetailType()
Description copied from interface:CheckedExceptionGives theTypeInfoof the detail- Specified by:
getDetailTypein interfaceCheckedException
-
getExceptionType
public ExceptionType 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
public String 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
public void setMessageName(String messageName)
-
getFaultAction
public String getFaultAction()
-
setFaultAction
public void setFaultAction(String faultAction)
-
getDefaultFaultAction
public String getDefaultFaultAction()
-
getFaultInfoGetter
public Method getFaultInfoGetter()
-
setFaultInfoGetter
public void setFaultInfoGetter(Method faultInfoGetter)
-
-