public class GeneratorException
extends java.lang.Exception
Constructor and Description |
---|
GeneratorException(java.lang.String aMsg)
This constructor creates an exception with just a message.
|
GeneratorException(java.lang.String aMsg,
java.lang.Exception aNested)
This constructor creates an exception with a message and a nested exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getMessage()
This method returns a String with the description for this exception.
|
java.lang.Exception |
getNestedException()
This method returns the nested exception for this exception, or
'null' if none is present.
|
java.lang.String |
toString()
This method returns a String with the description for this exception.
|
public GeneratorException(java.lang.String aMsg)
aMsg
- String with the message for the exception.public GeneratorException(java.lang.String aMsg, java.lang.Exception aNested)
aMsg
- String with the message for the exception.aNested
- Exception that is nested within this exception.public java.lang.String toString()
toString
in class java.lang.Throwable
public java.lang.String getMessage()
getMessage
in class java.lang.Throwable
public java.lang.Exception getNestedException()
Copyright © 2013. All Rights Reserved.