4 /** Exception subclass for reporting internal errors in JavaCup. */
5 public class internal_error extends Exception
7 /** Constructor with a message */
8 public internal_error(String msg)
13 /** Method called to do a forced error exit on an internal error
14 for cases when we can't actually throw the exception. */
17 System.err.println("JavaCUP Fatal Internal Error Detected");
18 System.err.println(getMessage());