polyglot.main
Class Main.TerminationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
polyglot.main.Main.TerminationException
- All Implemented Interfaces:
- java.io.Serializable
- Enclosing class:
- Main
public static class Main.TerminationException
- extends java.lang.RuntimeException
This exception signals termination of the compiler. It should be used
instead of System.exit
to allow Polyglot to be called
within a JVM that wasn't started specifically for Polyglot, e.g. the
Apache ANT framework.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
exitCode
public final int exitCode
Main.TerminationException
public Main.TerminationException(java.lang.String msg)
Main.TerminationException
public Main.TerminationException(int exit)
Main.TerminationException
public Main.TerminationException(java.lang.String msg,
int exit)