Class JAXWSExceptionBase

All Implemented Interfaces:
com.sun.istack.localization.Localizable, com.sun.istack.localization.LocalizableMessageFactory.ResourceBundleSupplier, Serializable
Direct Known Subclasses:
ClientTransportException, DeserializationException, ExceptionHasMessage, HandlerException, ParseException, ProcessorException, RuntimeModelerException, SenderException, SerializationException, ServerRtException, UnsupportedMediaException, UtilException, ValidationException, WSDLParseException, XMLMessageException, XMLReaderException, XMLStreamReaderException, XMLStreamWriterException

public abstract class JAXWSExceptionBase extends WebServiceException implements com.sun.istack.localization.Localizable, com.sun.istack.localization.LocalizableMessageFactory.ResourceBundleSupplier
Represents a WebServiceException with localizable message.
Author:
WS Development Team
See Also:
  • Constructor Details

    • JAXWSExceptionBase

      @Deprecated protected JAXWSExceptionBase(String key, Object... args)
      Deprecated.
      Should use the localizable constructor instead.
    • JAXWSExceptionBase

      protected JAXWSExceptionBase(String message)
    • JAXWSExceptionBase

      protected JAXWSExceptionBase(Throwable throwable)
      Creates a new exception that wraps the specified exception.
    • JAXWSExceptionBase

      protected JAXWSExceptionBase(com.sun.istack.localization.Localizable msg)
    • JAXWSExceptionBase

      protected JAXWSExceptionBase(com.sun.istack.localization.Localizable msg, Throwable cause)
  • Method Details

    • getMessage

      public String getMessage()
      Overrides:
      getMessage in class Throwable
    • getDefaultResourceBundleName

      protected abstract String getDefaultResourceBundleName()
      Gets the default resource bundle name for this kind of exception. Used for JAXWSExceptionBase(String, Object[]).
    • getKey

      public final String getKey()
      Specified by:
      getKey in interface com.sun.istack.localization.Localizable
    • getArguments

      public final Object[] getArguments()
      Specified by:
      getArguments in interface com.sun.istack.localization.Localizable
    • getResourceBundleName

      public final String getResourceBundleName()
      Specified by:
      getResourceBundleName in interface com.sun.istack.localization.Localizable
    • getResourceBundle

      public ResourceBundle getResourceBundle(Locale locale)
      Specified by:
      getResourceBundle in interface com.sun.istack.localization.Localizable
      Specified by:
      getResourceBundle in interface com.sun.istack.localization.LocalizableMessageFactory.ResourceBundleSupplier