FileDocCategorySizeDatePackage
internal_error.javaAPI DocJava SE 5 API568Fri Aug 26 14:54:54 BST 2005com.sun.java_cup.internal

internal_error

public class internal_error extends Exception
Exception subclass for reporting internal errors in JavaCup.

Fields Summary
Constructors Summary
public internal_error(String msg)
Constructor with a message

	super(msg);
      
Methods Summary
public voidcrash()
Method called to do a forced error exit on an internal error for cases when we can't actually throw the exception.

	System.err.println("JavaCUP Fatal Internal Error Detected");
	System.err.println(getMessage());
	printStackTrace();
	System.exit(-1);