Class JFuncMachineException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jfuncmachine.compiler.exceptions.JFuncMachineException
All Implemented Interfaces:
Serializable

public class JFuncMachineException extends RuntimeException
A JFuncMachine-specific exception, which can contain a filename and line number
See Also:
  • Constructor Details

    • JFuncMachineException

      public JFuncMachineException()
      Create an empty exception
    • JFuncMachineException

      public JFuncMachineException(String message)
      Create an exception with a message
      Parameters:
      message - The exception message
    • JFuncMachineException

      public JFuncMachineException(String message, Throwable cause)
      Create an exception with a message and a cause
      Parameters:
      message - The exception message
      cause - The exception cause
    • JFuncMachineException

      public JFuncMachineException(Throwable cause)
      Create an exception with a cause
      Parameters:
      cause - The exception cause
    • JFuncMachineException

      public JFuncMachineException(String message, String filename, int lineNumber)
      Create an exception with a filename, line number, and message
      Parameters:
      message - The exception message
      filename - The name of the source file where this exception is generated from
      lineNumber - The line number in the source file where this exception is generated
    • JFuncMachineException

      public JFuncMachineException(String message, Throwable cause, String filename, int lineNumber)
      Create an exception with a filename, line number, and message
      Parameters:
      message - The exception message
      cause - The exception cause
      filename - The name of the source file where this exception is generated from
      lineNumber - The line number in the source file where this exception is generated