|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.compomics.util.db.GeneratorException
public class GeneratorException
This class wraps all exception that can occur while generating code.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.Method Detail |
---|
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()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |