Class BadInputException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class BadInputException
    extends java.lang.RuntimeException
    Exception to throw when input code has caused an error. Includes elements to point to for the cause of the error
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      BadInputException​(java.lang.String message)  
      BadInputException​(java.lang.String message, java.lang.Iterable<? extends javax.lang.model.element.Element> badElements)  
      BadInputException​(java.lang.String message, javax.lang.model.element.Element badElement)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.google.common.collect.ImmutableList<javax.lang.model.element.Element> getBadElements()  
      • 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

      • BadInputException

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

        public BadInputException​(java.lang.String message,
                                 java.lang.Iterable<? extends javax.lang.model.element.Element> badElements)
      • BadInputException

        public BadInputException​(java.lang.String message)
    • Method Detail

      • getBadElements

        public com.google.common.collect.ImmutableList<javax.lang.model.element.Element> getBadElements()