com.ibm.jzos
Class RcException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bycom.ibm.jzos.RcException
All Implemented Interfaces:
java.io.Serializable

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
RcException(java.lang.String msg, int rc)
           
 
Method Summary
 java.lang.String getMessage()
           
 int getRc()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, 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()

getRc

public int getRc()