public class GeneratorException extends Exception
Constructor and Description |
---|
GeneratorException(String aMsg)
This constructor creates an exception with just a message.
|
GeneratorException(String aMsg,
Exception aNested)
This constructor creates an exception with a message and a nested exception.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage()
This method returns a String with the description for this exception.
|
Exception |
getNestedException()
This method returns the nested exception for this exception, or
'null' if none is present.
|
String |
toString()
This method returns a String with the description for this exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public GeneratorException(String aMsg)
aMsg
- String with the message for the exception.public String toString()
public String getMessage()
getMessage
in class Throwable
public Exception getNestedException()
Copyright © 2016. All rights reserved.