Module ibm.jzos
Package com.ibm.jzos

Class RauditxException

  • All Implemented Interfaces:
    java.io.Serializable

    public class RauditxException
    extends java.lang.RuntimeException
    A customized RuntimeException to carry return codes for RAuditx errors.

    Since:
    2.2.1
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RauditxException​(int safReturnCode, int racfReturnCode, int racfReasonCode)
      Construct a RAuditxException.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()
      Get a message string to decribe the exception.
      int getRacfReasonCode()  
      int getRacfReturnCode()  
      int getSafReturnCode()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • 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 service
        racfReturnCode - the RACF return code from the IRRSAX(00|64) callable service
        racfReasonCode - 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:
        getMessage in class java.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