Package com.progress.open4gl
Class RunTime4GLErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.progress.common.exception.ProException
com.progress.open4gl.Open4GLException
com.progress.open4gl.RunTime4GLException
com.progress.open4gl.RunTime4GLErrorException
- All Implemented Interfaces:
com.progress.common.exception.IChainableException
,Serializable
- Direct Known Subclasses:
RunTime4GLAppErrorException
,RunTime4GLStopErrorException
RunTime4GLErrorException is thrown when an ERROR condition is returned from
the top level ABL procedure.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionRunTime4GLErrorException
(Object[] args, int err) This constructor is intended for internal use only. -
Method Summary
Modifier and TypeMethodDescriptionGet the ABL call stack from where the error condition occurred.getMessage
(int msgIx) Get the message in the Exception based on an array index.int
getMessageNum
(int msgIx) Get the message mumber in the Exception based on an array index.int
Get the number of messages available in the Exception.int
Get the error severity.void
initialize
(String callStack, int numMsgs, int severity, String[] msgs, int[] msgNums) This constructor is intended for internal use only.Methods inherited from class com.progress.open4gl.RunTime4GLException
createException, getErrorNum, getProcReturnString, hasProcReturnString, setProcReturnString
Methods inherited from class com.progress.common.exception.ProException
getArgument, getLocalizedMessage, getMessage, getMessageId, getPrevious, setMessageId, setPrevious, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
RunTime4GLErrorException
This constructor is intended for internal use only.
-
-
Method Details
-
initialize
This constructor is intended for internal use only. -
getABLCallStack
Get the ABL call stack from where the error condition occurred.- Returns:
- The callstack string
-
getNumMessages
public int getNumMessages()Get the number of messages available in the Exception.- Returns:
- The number of messages
-
getSeverity
public int getSeverity()Get the error severity. This is an application specific value and would have to have been set by the ABL code on the server.- Returns:
- The severity number
-
getMessage
Get the message in the Exception based on an array index.- Parameters:
msgIx
- : 0-based index into the array of available error messages- Returns:
- The message string
-
getMessageNum
public int getMessageNum(int msgIx) Get the message mumber in the Exception based on an array index. This is the number associated with a specific system error message.- Parameters:
msgIx
- : 0-based index into the array of available error messages- Returns:
- The message number
-