Package com.sun.xml.ws.api.message
Class ExceptionHasMessage
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
jakarta.xml.ws.WebServiceException
com.sun.xml.ws.util.exception.JAXWSExceptionBase
com.sun.xml.ws.api.message.ExceptionHasMessage
- All Implemented Interfaces:
Localizable
,LocalizableMessageFactory.ResourceBundleSupplier
,Serializable
- Direct Known Subclasses:
MessageCreationException
,VersionMismatchException
This class represents an Exception that needs to be marshalled
with a specific protocol wire format. For example, the SOAP's
VersionMismatchFault needs to be written with a correct fault code.
In that case, decoder could throw
VersionMismatchException
,
and the corresponding fault Message
from getFaultMessage()
is sent on the wire.- Author:
- Jitendra Kotamraju
- See Also:
-
Field Summary
Fields inherited from interface com.sun.istack.localization.Localizable
NOT_LOCALIZABLE
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.sun.xml.ws.util.exception.JAXWSExceptionBase
getArguments, getDefaultResourceBundleName, getKey, getMessage, getResourceBundle, getResourceBundleName
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExceptionHasMessage
-
-
Method Details
-
getFaultMessage
Returns the exception into a fault Message- Returns:
- Message for this exception
-