Class ErrorTypeException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class ErrorTypeException
    extends java.lang.RuntimeException
    Exception to throw when a required Element is or inherits from an error kind.

    Includes element to point to for the cause of the error

    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      ErrorTypeException​(java.lang.String message, javax.lang.model.element.Element badElement)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      javax.lang.model.element.Element getBadElement()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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

      • ErrorTypeException

        public ErrorTypeException​(java.lang.String message,
                                  javax.lang.model.element.Element badElement)
    • Method Detail

      • getBadElement

        public javax.lang.model.element.Element getBadElement()