|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jboss.errai.codegen.exception.GenerationException
public class GenerationException
Base class for failures in the Errai code generation module.
Note to users of this class: instead of throwing an instance of this base class, please consider reusing one of its subtypes, or create a new subtype if none of the existing ones are suitable.
Constructor Summary | |
---|---|
GenerationException()
Creates a GenerationException with no message and no cause. |
|
GenerationException(String msg)
Creates a GenerationException with the given message and no cause. |
|
GenerationException(String message,
Throwable cause)
Creates a GenerationException with the given message and the given cause. |
|
GenerationException(Throwable t)
Creates a GenerationException with no message and the given cause. |
Method Summary | |
---|---|
void |
appendFailureInfo(String info)
Adds the given message to this exception. |
String |
getMessage()
Returns this exception's message (as given in the constructor) plus all of the additional failure information, separated by newlines. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public GenerationException()
public GenerationException(String msg)
public GenerationException(Throwable t)
public GenerationException(String message, Throwable cause)
Method Detail |
---|
public void appendFailureInfo(String info)
getMessage()
.
info
- The additional information to add.public String getMessage()
getMessage
in class Throwable
appendFailureInfo(String)
|
Errai 3.0.1-SNAPSHOT | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |