Class ConditionException

All Implemented Interfaces:
Serializable

public class ConditionException extends RuntimeException
A ConditionException is used to represent a z/OS Language Environment condition.

References

  • z/OS Language Environment Programming Reference: CEEDCOD-Decompose a condition token
  • z/OS XL C/C++ Run-Time Library Reference: __le_condition_token_build()
  • The AMODE31 header file leawi.h
See Also:
  • Method Details

    • getFacilityID

      public String getFacilityID()
      Returns the condition's facility ID.
      Returns:
      the condition's facility ID
    • getC1

      public int getC1()
      Returns c_1, as stored in the condition token.
      Returns:
      c_1, as stored in the condition token
    • getC2

      public int getC2()
      Returns c_2, as stored in the condition token.
      Returns:
      c_2, as stored in the condition token
    • getCase

      public int getCase()
      Returns the format of c_1 and c_2.
      Returns:
      the format of c_1 and c_2
    • getControl

      public int getControl()
      Returns the condition's control field.
      Returns:
      the condition's control field
    • getSeverity

      public int getSeverity()
      Returns the condition's severity.
      Returns:
      the condition's severity
    • getISInfo

      public long getISInfo()
      Returns the condition's ISI.
      Returns:
      the condition's ISI
    • getToken

      public byte[] getToken()
      Returns the raw 12-byte representation of the condition.
      Returns:
      the raw 12-byte representation of the condition
    • getMessageNumber

      public int getMessageNumber()
      Returns the condition's message number.
      Returns:
      the condition's message number
    • getRoutine

      public String getRoutine()
      Returns the routine that triggered the condition.
      Returns:
      the routine that triggered the condition
    • getOffsetInRoutine

      public long getOffsetInRoutine()
      Returns the offset into the routine that triggered the condition.
      Returns:
      the offset into the routine that triggered the condition