|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.ws.WebServiceException
com.sun.xml.ws.util.exception.JAXWSExceptionBase
public abstract class JAXWSExceptionBase
Represents a WebServiceException with
localizable message.
| Field Summary |
|---|
| Fields inherited from interface com.sun.xml.ws.util.localization.Localizable |
|---|
NOT_LOCALIZABLE |
| Constructor Summary | |
|---|---|
protected |
JAXWSExceptionBase(Localizable msg)
|
protected |
JAXWSExceptionBase(Localizable msg,
Throwable cause)
|
protected |
JAXWSExceptionBase(String message)
|
protected |
JAXWSExceptionBase(String key,
Object... args)
Deprecated. Should use the localizable constructor instead. |
protected |
JAXWSExceptionBase(Throwable throwable)
Creates a new exception that wraps the specified exception. |
| Method Summary | |
|---|---|
Object[] |
getArguments()
Returns the arguments for message formatting. |
protected abstract String |
getDefaultResourceBundleName()
Gets the default resource bundle name for this kind of exception. |
String |
getKey()
Gets the key in the resource bundle. |
String |
getMessage()
|
String |
getResourceBundleName()
|
| 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 |
| Constructor Detail |
|---|
protected JAXWSExceptionBase(String key,
Object... args)
protected JAXWSExceptionBase(String message)
protected JAXWSExceptionBase(Throwable throwable)
protected JAXWSExceptionBase(Localizable msg)
protected JAXWSExceptionBase(Localizable msg,
Throwable cause)
| Method Detail |
|---|
public String getMessage()
getMessage in class Throwableprotected abstract String getDefaultResourceBundleName()
JAXWSExceptionBase(String, Object[]).
public final String getKey()
Localizable
getKey in interface LocalizableLocalizable.NOT_LOCALIZABLE,
that means the message is not localizable, and
the first item of Localizable.getArguments() array
holds a String.public final Object[] getArguments()
Localizable
getArguments in interface Localizablepublic final String getResourceBundleName()
getResourceBundleName in interface Localizable
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||