|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.openquark.cal.runtime.CALExecutorException
org.openquark.cal.runtime.CALExecutorException.ExternalException
public abstract static class CALExecutorException.ExternalException
A base class for external exceptions. All programmatic exceptions are types of CALProgramException.
External errors can originate via:
f x = case x of LT -> "LT data cons";;
then f GT will produce a pattern match exception.
| Nested Class Summary | |
|---|---|
static class |
CALExecutorException.ExternalException.ErrorFunctionException
ErrorException is thrown by the CAL Prelude.error function. |
static class |
CALExecutorException.ExternalException.ForeignOrPrimitiveFunctionException
ForeignOrPrimitiveFunctionException is a wrapper to catch exceptions thrown by foreign or primitive functions (such as Prelude.divideInt for division by zero). |
static class |
CALExecutorException.ExternalException.PatternMatchFailure
CALPatternMatchException is thrown for pattern matching failures. |
static class |
CALExecutorException.ExternalException.PrimThrowFunctionException
PrimThrowFunctionException is thrown by the Exception.primThrow function used to implement exception handling in CAL code. |
static class |
CALExecutorException.ExternalException.TerminatedByClientException
CALForeignFunctionException is thrown in response to a client (e.g. user) terminating execution. |
| Nested classes/interfaces inherited from class org.openquark.cal.runtime.CALExecutorException |
|---|
CALExecutorException.ExternalException, CALExecutorException.InternalException, CALExecutorException.Type |
| Constructor Summary | |
|---|---|
CALExecutorException.ExternalException(ErrorInfo errorInfo,
String message,
Throwable cause)
|
|
CALExecutorException.ExternalException(String message,
Throwable cause)
|
|
| Method Summary | |
|---|---|
boolean |
isExternal()
Return true if this is an external exception (i.e. an error was generated by the CAL source program) |
| Methods inherited from class org.openquark.cal.runtime.CALExecutorException |
|---|
getErrorInfo, getExceptionType, getMessage |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public CALExecutorException.ExternalException(String message,
Throwable cause)
public CALExecutorException.ExternalException(ErrorInfo errorInfo,
String message,
Throwable cause)
| Method Detail |
|---|
public final boolean isExternal()
isExternal in class CALExecutorException
|
![]() Quark Platform Documentation Version 1.7.0_0 Business Objects |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||