Class ExceptionHasMessage

  • All Implemented Interfaces:
    com.sun.istack.localization.Localizable, com.sun.istack.localization.LocalizableMessageFactory.ResourceBundleSupplier, Serializable

    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 throw VersionMismatchException, and the corresponding fault Message from getFaultMessage() is sent on the wire.
    Author:
    Jitendra Kotamraju
    See Also:
    Serialized Form
    • Constructor Detail

      • ExceptionHasMessage

        public ExceptionHasMessage​(String key,
                                   Object... args)
    • Method Detail

      • getFaultMessage

        public abstract Message getFaultMessage()
        Returns the exception into a fault Message
        Returns:
        Message for this exception