public class MaltChainedException extends Exception
Modifier and Type | Field and Description |
---|---|
static long |
serialVersionUID |
Constructor and Description |
---|
MaltChainedException(String message)
Creates a MaltChainedException instance with a message
|
MaltChainedException(String message,
Throwable cause)
Creates a MaltChainedException instance with a message and keeps track of the cause of the exception.
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getCause() |
String |
getMessageChain()
Returns a string representation of the exception chain.
|
void |
printStackTrace() |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
public static final long serialVersionUID
public MaltChainedException(String message)
message
- a message stringpublic MaltChainedException(String message, Throwable cause)
message
- a message stringcause
- a causepublic String getMessageChain()
public void printStackTrace()
printStackTrace
in class Throwable
Copyright 2007-2017 Johan Hall, Jens Nilsson and Joakim Nivre.