com.ibm.jzos

Class RcException

  • java.lang.Object
    • java.lang.Throwable
      • java.lang.Exception
        • java.lang.RuntimeException
          • com.ibm.jzos.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 and Description
      RcException(java.lang.String msg, int rc) 
    • Method Summary

      Methods 
      Modifier and Type Method and 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()
© Copyright IBM Corporation 2005, 2014.