Class 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 Detail

      • GenerationException

        public GenerationException()
      • GenerationException

        public GenerationException​(String msg)
      • GenerationException

        public GenerationException​(String msg,
                                   String origin)
      • GenerationException

        public GenerationException​(Throwable t)
      • GenerationException

        public GenerationException​(String message,
                                   Throwable cause)