public class DawnRuntimeException
extends java.lang.Exception
DawnRuntimeException is thrown whenever a function encounter
an error. Basically, this exception is thrown if a function is not implemented.
Yet, many functions will use it to warn user (i.e: empty stack, not enough
arguments, etc...).| Constructor and Description |
|---|
DawnRuntimeException(DawnParser parser,
java.lang.String message)
Create a new exception.
|
DawnRuntimeException(Function function,
DawnParser parser,
java.lang.String message)
Create a new exception.
|
public DawnRuntimeException(DawnParser parser, java.lang.String message)
parser - The DawnParser responsible of the invocationmessage - A short description of the errorpublic DawnRuntimeException(Function function, DawnParser parser, java.lang.String message)
function - The Function which thrown the exceptionparser - The DawnParser responsible of the invocationmessage - A short description of the errorCopyright ? 2002 Romain Guy.