Class GenerationException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.uberfire.annotations.processors.exceptions.GenerationException
-
- All Implemented Interfaces:
Serializable
public class GenerationException extends Exception
THINK TWICE BEFORE USING THIS EXCEPTION! In most cases, it is more appropriate to print an error message through the compiler's Messager API. This allows you to pinpoint the exact class, annotation, field, method, or whatever element the error message refers to. Just like throwing an exception, printing an error does cause the compile to fail.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenerationException()GenerationException(String msg)GenerationException(String msg, String origin)GenerationException(String message, Throwable cause)GenerationException(Throwable t)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-