- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ibm.le.conditionhandling.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:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
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
getControl()
Returns the condition's control field.String
getFacilityID()
Returns the condition's facility ID.long
getISInfo()
Returns the condition's ISI.int
getMessageNumber()
Returns the condition's message number.long
getOffsetInRoutine()
Returns the offset into the routine that triggered the condition.String
getRoutine()
Returns the routine that triggered the condition.int
getSeverity()
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 Detail
-
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
-
-