Module ibm.jzos
Package com.ibm.jzos

Class RcException

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    EnqueueException

    public class RcException
    extends java.lang.RuntimeException
    Exception class that holds a return code and message resulting from a native call error.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      RcException​(java.lang.String msg, int rc)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getMessage()  
      int getRc()  
      • 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

      • RcException

        public RcException​(java.lang.String msg,
                           int rc)
    • Method Detail

      • getMessage

        public java.lang.String getMessage()
        Overrides:
        getMessage in class java.lang.Throwable
      • getRc

        public int getRc()