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:
com.sun.istack.localization.Localizable,com.sun.istack.localization.LocalizableMessageFactory.ResourceBundleSupplier,Serializable
- Direct Known Subclasses:
MessageCreationException,VersionMismatchException
public abstract class ExceptionHasMessage extends JAXWSExceptionBase
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 throwVersionMismatchException, and the corresponding faultMessagefromgetFaultMessage()is sent on the wire.- Author:
- Jitendra Kotamraju
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExceptionHasMessage(String key, Object... args)
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description abstract MessagegetFaultMessage()Returns the exception into a fault Message-
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
-
-