Class ProcedureException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.rapidcontext.core.proc.ProcedureException
All Implemented Interfaces:
Serializable

public class ProcedureException extends Exception
A procedure exception. This class encapsulates all procedure execution errors, both run-time and compile-time.
Version:
1.0
See Also:
  • Constructor Details

    • ProcedureException

      public ProcedureException(String message)
      Creates a new generic procedure exception.
      Parameters:
      message - the detailed error message
    • ProcedureException

      public ProcedureException(Procedure proc, String message)
      Creates a new in-call procedure exception.
      Parameters:
      proc - the procedure called
      message - the detailed error message
    • ProcedureException

      public ProcedureException(Procedure proc, Throwable e)
      Creates a new new in-call procedure exception.
      Parameters:
      proc - the procedure called
      e - the root cause