Package com.sun.xml.rpc.util.exception
Class LocalizableExceptionAdapter
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.sun.xml.rpc.util.exception.LocalizableExceptionAdapter
-
- All Implemented Interfaces:
Localizable,Serializable
public class LocalizableExceptionAdapter extends Exception implements Localizable
LocalizableExceptionAdapter- Author:
- JAX-RPC Development Team
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected LocalizablelocalizablePartprotected ThrowablenestedException
-
Constructor Summary
Constructors Constructor Description LocalizableExceptionAdapter(Throwable nestedException)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object[]getArguments()StringgetKey()StringgetLocalizedMessage()StringgetMessage()ThrowablegetNestedException()StringgetResourceBundleName()voidprintStackTrace()voidprintStackTrace(PrintStream s)voidprintStackTrace(PrintWriter s)StringtoString()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, setStackTrace
-
-
-
-
Field Detail
-
localizablePart
protected Localizable localizablePart
-
nestedException
protected Throwable nestedException
-
-
Constructor Detail
-
LocalizableExceptionAdapter
public LocalizableExceptionAdapter(Throwable nestedException)
-
-
Method Detail
-
getKey
public String getKey()
- Specified by:
getKeyin interfaceLocalizable
-
getArguments
public Object[] getArguments()
- Specified by:
getArgumentsin interfaceLocalizable
-
getResourceBundleName
public String getResourceBundleName()
- Specified by:
getResourceBundleNamein interfaceLocalizable
-
getLocalizedMessage
public String getLocalizedMessage()
- Overrides:
getLocalizedMessagein classThrowable
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
getNestedException
public Throwable getNestedException()
-
printStackTrace
public void printStackTrace()
- Overrides:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace(PrintStream s)
- Overrides:
printStackTracein classThrowable
-
printStackTrace
public void printStackTrace(PrintWriter s)
- Overrides:
printStackTracein classThrowable
-
-