Class RunTime4GLErrorException

java.lang.Object
java.lang.Throwable
java.lang.Exception
com.progress.common.exception.ProException
All Implemented Interfaces:
com.progress.common.exception.IChainableException, Serializable
Direct Known Subclasses:
RunTime4GLAppErrorException, RunTime4GLStopErrorException

public class RunTime4GLErrorException extends RunTime4GLException
RunTime4GLErrorException is thrown when an ERROR condition is returned from the top level ABL procedure.
See Also:
  • Constructor Details

    • RunTime4GLErrorException

      public RunTime4GLErrorException(Object[] args, int err)
      This constructor is intended for internal use only.
  • Method Details

    • initialize

      public void initialize(String callStack, int numMsgs, int severity, String[] msgs, int[] msgNums)
      This constructor is intended for internal use only.
    • getABLCallStack

      public String 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

      public String getMessage(int msgIx)
      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