Class ConditionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.ibm.le.conditionhandling.ConditionException
- All Implemented Interfaces:
Serializable
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 Summary
Modifier and TypeMethodDescriptionint
getC1()
Returns c_1, as stored in the condition token.int
getC2()
Returns c_2, as stored in the condition token.int
getCase()
Returns the format of c_1 and c_2.int
Returns the condition's control field.Returns the condition's facility ID.long
Returns the condition's ISI.int
Returns the condition's message number.long
Returns the offset into the routine that triggered the condition.Returns the routine that triggered the condition.int
Returns the condition's severity.byte[]
getToken()
Returns the raw 12-byte representation of the condition.Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Method Details
-
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
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
-