public final class CheckedExceptionImpl extends Object implements CheckedException
public WrapperException()String message, FaultBean){}
and method
public FaultBean getFaultInfo();
Constructor and Description |
---|
CheckedExceptionImpl(JavaMethodImpl jm,
Class exceptionClass,
TypeInfo detail,
ExceptionType exceptionType) |
Modifier and Type | Method and Description |
---|---|
XMLBridge |
getBond() |
com.sun.xml.bind.api.Bridge |
getBridge()
Deprecated.
|
String |
getDefaultFaultAction() |
Class |
getDetailBean()
The detail bean is serialized inside the detail entry in the SOAP message.
|
TypeInfo |
getDetailType() |
Class |
getExceptionClass()
The returned exception class would be userdefined or WSDL exception class.
|
ExceptionType |
getExceptionType()
Tells whether the exception class is a userdefined or a WSDL exception.
|
String |
getFaultAction() |
String |
getMessageName()
Gives the wsdl:portType/wsdl:operation/wsdl:fault@message value - that is the wsdl:message
referenced by wsdl:fault
|
AbstractSEIModelImpl |
getOwner()
Gets the root
SEIModel that owns this model. |
JavaMethod |
getParent()
Gets the parent
JavaMethod to which this checked exception belongs. |
void |
setFaultAction(String faultAction) |
void |
setMessageName(String messageName) |
public CheckedExceptionImpl(JavaMethodImpl jm, Class exceptionClass, TypeInfo detail, ExceptionType exceptionType)
jm
- JavaMethodImpl
that throws this exceptionexceptionClass
- Userdefined or WSDL exception class that extends
java.lang.Exception.detail
- detail or exception bean's TypeReferenceexceptionType
- either ExceptionType.UserDefined orpublic AbstractSEIModelImpl getOwner()
CheckedException
SEIModel
that owns this model.getOwner
in interface CheckedException
public JavaMethod getParent()
CheckedException
JavaMethod
to which this checked exception belongs.getParent
in interface CheckedException
public Class getExceptionClass()
CheckedException
getExceptionClass
in interface CheckedException
Class for this object
public Class getDetailBean()
CheckedException
JAXBContext
inorder to get
marshalled/unmarshalled.getDetailBean
in interface CheckedException
public com.sun.xml.bind.api.Bridge getBridge()
CheckedException
Bridge
associated with the detailgetBridge
in interface CheckedException
public XMLBridge getBond()
public TypeInfo getDetailType()
public ExceptionType getExceptionType()
CheckedException
public WrapperException()String message, FaultBean){}
and accessor method
public FaultBean getFaultInfo();
getExceptionType
in interface CheckedException
public String getMessageName()
CheckedException
getMessageName
in interface CheckedException
public void setMessageName(String messageName)
public String getFaultAction()
public void setFaultAction(String faultAction)
public String getDefaultFaultAction()
Copyright © 2015 Oracle Corporation. All rights reserved.