Package java_cup

Class internal_error

  • All Implemented Interfaces:
    java.io.Serializable

    public class internal_error
    extends java.lang.Exception
    Exception subclass for reporting internal errors in JavaCup.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      internal_error​(java.lang.String msg)
      Constructor with a message
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void crash()
      Method called to do a forced error exit on an internal error for cases when we can't actually throw the exception.
      • 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

      • internal_error

        public internal_error​(java.lang.String msg)
        Constructor with a message
    • Method Detail

      • crash

        public void crash()
        Method called to do a forced error exit on an internal error for cases when we can't actually throw the exception.