public class PPAException
extends java.lang.Exception
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getMessage()
Returns the descriptive message about the exception using the default locale.
|
java.lang.String |
getMessage(java.util.Locale locale)
Returns the descriptive message about the exception using the specified locale.
|
java.lang.String |
getMessageId()
Returns the message identifier for the descriptive message about the exception.
|
java.lang.Throwable |
getThrowable()
Returns the original exception that caused the problem.
|
java.lang.Object[] |
getTokens()
Returns the values for replaceable tokens used in the error message.
|
void |
printStackTrace()
Prints this exception and its backtrace to the standard error stream.
|
void |
printStackTrace(java.io.PrintStream printStream)
Prints this exception and its backtrace to the specified print stream.
|
void |
printStackTrace(java.io.PrintWriter printWriter)
Prints this exception and its backtrace to the specified print writer.
|
java.lang.String |
toXML()
Returns an XML representation of this exception message and
token values that can be localized by a user interface.
|
public java.lang.String getMessage()
getMessage in class java.lang.Throwablepublic java.lang.String getMessage(java.util.Locale locale)
locale - The locale to be used.public java.lang.String getMessageId()
public java.lang.Throwable getThrowable()
public java.lang.Object[] getTokens()
public void printStackTrace()
printStackTrace in class java.lang.Throwablepublic void printStackTrace(java.io.PrintStream printStream)
printStackTrace in class java.lang.ThrowableprintStream - The PrintStream to which the this exception
and its backtrace are to be printed.public void printStackTrace(java.io.PrintWriter printWriter)
printStackTrace in class java.lang.ThrowableprintWriter - The PrintWriter to which the this exception
and its backtrace are to be printed.public java.lang.String toXML()