public class MessagingException extends Exception
| Constructor and Description |
|---|
MessagingException()
Constructs a messaging exception with no detail message.
|
MessagingException(String message)
Constructs a messaging exception with the specified detail message.
|
MessagingException(String message,
Exception exception)
Constructs a messaging exception with the specified exception and detail
message.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage()
Returns the message, including the message from any nested exception.
|
Exception |
getNextException()
Returns the next exception chained to this one.
|
void |
printStackTrace(PrintStream out) |
void |
printStackTrace(PrintWriter out) |
boolean |
setNextException(Exception exception)
Adds an exception to the end of the chain.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTrace, toStringpublic MessagingException()
public MessagingException(String message)
message - the detail messagepublic Exception getNextException()
public boolean setNextException(Exception exception)
exception - the new end of the exception chainpublic String getMessage()
getMessage in class Throwablepublic void printStackTrace(PrintStream out)
printStackTrace in class Throwablepublic void printStackTrace(PrintWriter out)
printStackTrace in class Throwable© Copyright 2003, 2004 The Free Software Foundation, All rights reserved