public class MessageException
extends java.lang.Exception
Constructor and Description |
---|
MessageException(java.lang.String message) |
MessageException(java.lang.String message,
java.lang.Exception exception) |
Modifier and Type | Method and Description |
---|---|
java.lang.Exception |
getException()
Returns the exception that caused this MessageException
|
java.lang.String |
getMessage()
Get the message for this Exception
|
void |
printStackTrace()
Prints this MessageException and its backtrace to the
standard error stream.
|
void |
printStackTrace(java.io.PrintStream s)
Prints this MessageException and its backtrace to the specified print stream.
|
void |
printStackTrace(java.io.PrintWriter s)
Prints this MessageException and its backtrace to the specified
print writer.
|
public MessageException(java.lang.String message)
public MessageException(java.lang.String message, java.lang.Exception exception)
public java.lang.Exception getException()
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public void printStackTrace()
printStackTrace
in class java.lang.Throwable
public void printStackTrace(java.io.PrintStream s)
printStackTrace
in class java.lang.Throwable
s
- PrintStream
to use for outputpublic void printStackTrace(java.io.PrintWriter s)
printStackTrace
in class java.lang.Throwable
s
- PrintWriter
to use for outputobject XP, Inc. © 2000-2013. All rights reserved object XP