Class EolRuntimeException

    • Field Detail

      • reason

        protected java.lang.String reason
      • message

        protected java.lang.String message
    • Constructor Detail

      • EolRuntimeException

        public EolRuntimeException()
      • EolRuntimeException

        public EolRuntimeException​(java.lang.String reason)
      • EolRuntimeException

        public EolRuntimeException​(java.lang.String reason,
                                   ModuleElement ast)
      • EolRuntimeException

        public EolRuntimeException​(java.lang.Throwable cause)
      • EolRuntimeException

        public EolRuntimeException​(java.lang.String reason,
                                   java.lang.Throwable cause)
    • Method Detail

      • getReason

        public java.lang.String getReason()
      • setReason

        public void setReason​(java.lang.String reason)
      • setMessage

        public void setMessage​(java.lang.String message)
      • getLine

        public int getLine()
      • getColumn

        public int getColumn()
      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable
      • findCause

        public static EolRuntimeException findCause​(java.lang.Throwable runtimeEx)
        Traverses the causes of the (usually unchecked) exception to find an EolRuntimeException. If not found, it will wrap the root cause into an instance of EolRuntimeException. This method accounts for any depth of cyclic causes, so it is guaranteed to terminate; unless there is a StackOverflowError.