Package org.rapidcontext.core.proc
Class ProcedureException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.rapidcontext.core.BaseException
org.rapidcontext.core.proc.ProcedureException
- All Implemented Interfaces:
Serializable
A procedure exception. This class encapsulates all procedure
execution errors, both run-time and compile-time.
- Version:
- 1.0
- See Also:
-
Constructor Summary
ConstructorDescriptionProcedureException
(String message) Creates a new generic procedure exception.ProcedureException
(Procedure proc, String message) Deprecated, for removal: This API element is subject to removal in a future version.ProcedureException
(Procedure proc, Throwable e) Deprecated, for removal: This API element is subject to removal in a future version.ProcedureException
(Procedure proc, String message) Creates a new in-call procedure exception.ProcedureException
(Procedure proc, Throwable e) Creates a new new in-call procedure exception. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ProcedureException
Creates a new generic procedure exception.- Parameters:
message
- the detailed error message
-
ProcedureException
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new in-call procedure exception.- Parameters:
proc
- the procedure calledmessage
- the detailed error message
-
ProcedureException
Creates a new in-call procedure exception.- Parameters:
proc
- the procedure calledmessage
- the detailed error message
-
ProcedureException
Deprecated, for removal: This API element is subject to removal in a future version.Creates a new new in-call procedure exception.- Parameters:
proc
- the procedure callede
- the root cause
-
ProcedureException
Creates a new new in-call procedure exception.- Parameters:
proc
- the procedure callede
- the root cause
-