coins.driver
Class PassStopException
java.lang.Object
java.lang.Throwable
java.lang.Exception
coins.PassException
coins.driver.PassStopException
- All Implemented Interfaces:
- java.io.Serializable
- public class PassStopException
- extends PassException
Even if the PassStopException is a derived class of PassException, it is
not treated as an exceptional event, but a global exitting from a depth of
compiler modules. By throwing PassStopException,
CompilerImplementation#compile() is stopped at once, and
CompilerImplementation#assemble() is called (if no option preventing it is
specified. Exit status of the compilation is not affected, but linking is
canceled.
- See Also:
- Serialized Form
| Fields inherited from class java.lang.Exception |
|
|
Constructor Summary |
PassStopException(java.io.File sourceFile,
int lineNumber,
java.lang.String passName,
java.lang.String message)
Creates an instance with a message, a source file name, and a line
number. |
PassStopException(java.io.File sourceFile,
java.lang.String passName,
java.lang.String message)
Creates an instance with a message and a source file name. |
PassStopException(java.lang.String passName,
java.lang.String message)
Creates an instance with a message. |
| 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 |
PassStopException
public PassStopException(java.io.File sourceFile,
int lineNumber,
java.lang.String passName,
java.lang.String message)
- Creates an instance with a message, a source file name, and a line
number.
- Parameters:
sourceFile - The source file which contains this exception.lineNumber - The line number in the source file which contains this exception.passName - The pass name where this exception is occurred.message - The message describing this exception.
PassStopException
public PassStopException(java.io.File sourceFile,
java.lang.String passName,
java.lang.String message)
- Creates an instance with a message and a source file name.
Use when a line number cannot be specified.
- Parameters:
sourceFile - The source file which contains this exception.passName - The pass name where this exception is occurred.message - The message describing this exception.
PassStopException
public PassStopException(java.lang.String passName,
java.lang.String message)
- Creates an instance with a message.
Use when a source file cannot be specified (e.g., linker).
- Parameters:
passName - The pass name where this exception is occurred.message - The message describing this exception.