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:
Serializable

public class RSrvException
extends Exception

See Also:
Serialized Form

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

reqReturnCode

protected int reqReturnCode
Constructor Detail

RSrvException

public RSrvException(Rconnection c,
                     String msg)

RSrvException

public RSrvException(Rconnection c,
                     String msg,
                     int requestReturnCode)

RSrvException

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

getRequestErrorDescription

public String getRequestErrorDescription()

getRequestErrorDescription

public String getRequestErrorDescription(int code)

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getRequestReturnCode

public int getRequestReturnCode()