Class JFuncMachineException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jfuncmachine.compiler.exceptions.JFuncMachineException
- All Implemented Interfaces:
Serializable
A JFuncMachine-specific exception, which can contain a filename and line number
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate an empty exceptionJFuncMachineException(String message) Create an exception with a messageJFuncMachineException(String message, String filename, int lineNumber) Create an exception with a filename, line number, and messageJFuncMachineException(String message, Throwable cause) Create an exception with a message and a causeJFuncMachineException(String message, Throwable cause, String filename, int lineNumber) Create an exception with a filename, line number, and messageJFuncMachineException(Throwable cause) Create an exception with a cause -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JFuncMachineException
public JFuncMachineException()Create an empty exception -
JFuncMachineException
Create an exception with a message- Parameters:
message- The exception message
-
JFuncMachineException
Create an exception with a message and a cause- Parameters:
message- The exception messagecause- The exception cause
-
JFuncMachineException
Create an exception with a cause- Parameters:
cause- The exception cause
-
JFuncMachineException
Create an exception with a filename, line number, and message- Parameters:
message- The exception messagefilename- The name of the source file where this exception is generated fromlineNumber- The line number in the source file where this exception is generated
-
JFuncMachineException
Create an exception with a filename, line number, and message- Parameters:
message- The exception messagecause- The exception causefilename- The name of the source file where this exception is generated fromlineNumber- The line number in the source file where this exception is generated
-