Package net.hydromatic.morel.eval
Class Codes.MorelRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.hydromatic.morel.eval.Codes.MorelRuntimeException
- All Implemented Interfaces:
Serializable,MorelException
- Enclosing class:
Codes
Java exception that wraps an exception thrown by the Morel runtime.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionMorelRuntimeException(Codes.BuiltInExn e, Pos pos) Creates a MorelRuntimeException. -
Method Summary
Modifier and TypeMethodDescriptiondescribeTo(StringBuilder buf) Writes a description of this exception.pos()Returns the position.toString()Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Field Details
-
e
-
pos
-
-
Constructor Details
-
MorelRuntimeException
Creates a MorelRuntimeException.
-
-
Method Details
-
toString
-
describeTo
Description copied from interface:MorelExceptionWrites a description of this exception.- Specified by:
describeToin interfaceMorelException
-
pos
Description copied from interface:MorelExceptionReturns the position.- Specified by:
posin interfaceMorelException
-