org.jext.dawn
Class DawnRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.jext.dawn.DawnRuntimeException
- All Implemented Interfaces:
- java.io.Serializable
- 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...).
- 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 |
DawnRuntimeException
public DawnRuntimeException(DawnParser parser,
java.lang.String message)
- Create a new exception. The message is built here to avoid keeping pointers to many
other objects.
- Parameters:
parser
- The DawnParser
responsible of the invocationmessage
- A short description of the error
DawnRuntimeException
public DawnRuntimeException(Function function,
DawnParser parser,
java.lang.String message)
- Create a new exception. The message is built here to avoid keeping pointers to many
other objects.
- Parameters:
function
- The Function
which thrown the exceptionparser
- The DawnParser
responsible of the invocationmessage
- A short description of the error
Copyright © 2002 Romain Guy.