|
![]() 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
public abstract class CALExecutorException
Base class for exceptions involved in evaluating CAL code.
The exception hierarchy is divided into two main branches, one for external exceptions and one for internal exceptions.
Internal exceptions are errors in the implementation of CAL, or errors in setting up the CAL services calls to activate the run-time i.e. they are not caused by the correct operation of the running CAL code.
External exceptions are errors in a CAL program. External errors can originate in several ways (currently).
| Nested Class Summary | |
|---|---|
static class |
CALExecutorException.ExternalException
A base class for external exceptions. |
static class |
CALExecutorException.InternalException
Base class for Internal exceptions. |
static class |
CALExecutorException.Type
Enum for the different types of exceptions. |
| Constructor Summary | |
|---|---|
CALExecutorException(ErrorInfo errorInfo,
String message,
Throwable cause)
Construct an exception with the given message and associate it with the given Executor and originating exception. |
|
CALExecutorException(String message)
Construct an exception with the given message and associate it with the given Executor and originating exception. |
|
CALExecutorException(String message,
Throwable cause)
Construct an exception with the given message and associate it with the given Executor and originating exception. |
|
| Method Summary | |
|---|---|
ErrorInfo |
getErrorInfo()
|
CALExecutorException.Type |
getExceptionType()
Get the execution result status. |
String |
getMessage()
Retrieve the message associated with this exception. |
abstract 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 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(String message)
message - String
public CALExecutorException(String message,
Throwable cause)
message - Stringcause - Throwable
public CALExecutorException(ErrorInfo errorInfo,
String message,
Throwable cause)
errorInfo - Information that associates the error with the source code. Maybe null.message - Stringcause - Throwable| Method Detail |
|---|
public ErrorInfo getErrorInfo()
public abstract boolean isExternal()
public String getMessage()
getMessage in class Throwablepublic final CALExecutorException.Type getExceptionType()
|
![]() 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 | |||||||||