public class MaltChainedException extends java.lang.Exception
| Modifier and Type | Field and Description |
|---|---|
static long |
serialVersionUID |
| Constructor and Description |
|---|
MaltChainedException(java.lang.String message)
Creates a MaltChainedException instance with a message
|
MaltChainedException(java.lang.String message,
java.lang.Throwable cause)
Creates a MaltChainedException instance with a message and keeps track of the cause of the exception.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Throwable |
getCause() |
java.lang.String |
getMessageChain()
Returns a string representation of the exception chain.
|
void |
printStackTrace() |
public static final long serialVersionUID
public MaltChainedException(java.lang.String message)
message - a message stringpublic MaltChainedException(java.lang.String message, java.lang.Throwable cause)
message - a message stringcause - a causepublic java.lang.Throwable getCause()
getCause in class java.lang.Throwablepublic java.lang.String getMessageChain()
public void printStackTrace()
printStackTrace in class java.lang.ThrowableCopyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.