org.rosuda.JRclient
Class RSrvException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.rosuda.JRclient.RSrvException
All Implemented Interfaces:
java.io.Serializable

public class RSrvException
extends java.lang.Exception

See Also:
Serialized Form

Field Summary
protected  Rconnection conn
           
protected  java.lang.String err
           
protected  int reqReturnCode
           
 
Constructor Summary
RSrvException(Rconnection c, java.lang.String msg)
           
RSrvException(Rconnection c, java.lang.String msg, int requestReturnCode)
           
RSrvException(Rconnection c, java.lang.String msg, Rpacket p)
           
 
Method Summary
 java.lang.String getMessage()
           
 java.lang.String getRequestErrorDescription()
           
 java.lang.String getRequestErrorDescription(int code)
           
 int getRequestReturnCode()
           
 
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
 

Field Detail

conn

protected Rconnection conn

err

protected java.lang.String err

reqReturnCode

protected int reqReturnCode
Constructor Detail

RSrvException

public RSrvException(Rconnection c,
                     java.lang.String msg)

RSrvException

public RSrvException(Rconnection c,
                     java.lang.String msg,
                     int requestReturnCode)

RSrvException

public RSrvException(Rconnection c,
                     java.lang.String msg,
                     Rpacket p)
Method Detail

getRequestErrorDescription

public java.lang.String getRequestErrorDescription()

getRequestErrorDescription

public java.lang.String getRequestErrorDescription(int code)

getMessage

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

getRequestReturnCode

public int getRequestReturnCode()