com.ibm.jzos
Class RauditxException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.ibm.jzos.RauditxException
-
- All Implemented Interfaces:
- java.io.Serializable
public class RauditxException extends java.lang.RuntimeExceptionA customized RuntimeException to carry return codes for RAuditx errors.- Since:
- 2.2.1
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description RauditxException(int safReturnCode, int racfReturnCode, int racfReasonCode)Construct a RAuditxException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.lang.StringgetMessage()Get a message string to decribe the exception.intgetRacfReasonCode()intgetRacfReturnCode()intgetSafReturnCode()
-
-
-
Constructor Detail
-
RauditxException
public RauditxException(int safReturnCode, int racfReturnCode, int racfReasonCode)Construct a RAuditxException.- Parameters:
safReturnCode- the SAF return code from the IRRSAX(00|64) callable serviceracfReturnCode- the RACF return code from the IRRSAX(00|64) callable serviceracfReasonCode- the RACF return code from the IRRSAX(00|64) callable service
-
-
Method Detail
-
getMessage
public java.lang.String getMessage()
Get a message string to decribe the exception. This includes the original source message from the detecting routine, as well as errno, errno2, and last_op if errno is not 0.- Overrides:
getMessagein classjava.lang.Throwable
-
getSafReturnCode
public int getSafReturnCode()
- Returns:
- int - the value of the IRRSAX(00|64) SAF return code
-
getRacfReturnCode
public int getRacfReturnCode()
- Returns:
- int - the value of the IRRSAX(00|64) RACF return code
-
getRacfReasonCode
public int getRacfReasonCode()
- Returns:
- int - the value of the IRRSAX(00|64) RACF return code
-
-