com.sun.xml.ws.util.exception
Class JAXWSExceptionBase
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.ws.WebServiceException
com.sun.xml.ws.util.exception.JAXWSExceptionBase
- All Implemented Interfaces:
- com.sun.istack.localization.Localizable, java.io.Serializable
- Direct Known Subclasses:
- ClientTransportException, DeserializationException, ExceptionHasMessage, HandlerException, RuntimeModelerException, SenderException, SerializationException, ServerRtException, UnsupportedMediaException, UtilException, XMLMessageException, XMLReaderException, XMLStreamReaderException, XMLStreamWriterException
public abstract class JAXWSExceptionBase
- extends WebServiceException
- implements com.sun.istack.localization.Localizable
Represents a WebServiceException
with
localizable message.
- See Also:
- Serialized Form
Fields inherited from interface com.sun.istack.localization.Localizable |
NOT_LOCALIZABLE |
Constructor Summary |
protected |
JAXWSExceptionBase(com.sun.istack.localization.Localizable msg)
|
protected |
JAXWSExceptionBase(com.sun.istack.localization.Localizable msg,
java.lang.Throwable cause)
|
protected |
JAXWSExceptionBase(java.lang.String message)
|
protected |
JAXWSExceptionBase(java.lang.String key,
java.lang.Object... args)
Deprecated. Should use the localizable constructor instead. |
protected |
JAXWSExceptionBase(java.lang.Throwable throwable)
Creates a new exception that wraps the specified exception. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
JAXWSExceptionBase
protected JAXWSExceptionBase(java.lang.String key,
java.lang.Object... args)
- Deprecated. Should use the localizable constructor instead.
JAXWSExceptionBase
protected JAXWSExceptionBase(java.lang.String message)
JAXWSExceptionBase
protected JAXWSExceptionBase(java.lang.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,
java.lang.Throwable cause)
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class java.lang.Throwable
getDefaultResourceBundleName
protected abstract java.lang.String getDefaultResourceBundleName()
- Gets the default resource bundle name for this kind of exception.
Used for
JAXWSExceptionBase(String, Object[])
.
getKey
public final java.lang.String getKey()
- Specified by:
getKey
in interface com.sun.istack.localization.Localizable
getArguments
public final java.lang.Object[] getArguments()
- Specified by:
getArguments
in interface com.sun.istack.localization.Localizable
getResourceBundleName
public final java.lang.String getResourceBundleName()
- Specified by:
getResourceBundleName
in interface com.sun.istack.localization.Localizable
Copyright (c) 1997-2012 Oracle and/or its affiliates. All rights reserved.