com.ibm.jzos
Class RcException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.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()
Overrides:
getMessage in class java.lang.Throwable

getRc

public int getRc()