org.af.jhlir.call
Class RErrorException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.af.jhlir.call.RErrorException
All Implemented Interfaces:
Serializable

public class RErrorException
extends RuntimeException

A RErrorException (which extends RuntimeException) is thrown in the methods of RCallServices, when an error occurred on the R side. Example: For a RCallServices object res the following calls should produce RErrorExceptions: res.evalVoid("rnorm(100"); // missing bracket res.evalVoid("rnorm(x=100)"); // unused argument x res.evalVoid("stop(\"error\")"); // explicit stop

See Also:
Serialized Form

Constructor Summary
RErrorException(String message)
          Constructs a new RErrorException with the specified detail message.
 
Method Summary
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RErrorException

public RErrorException(String message)
Constructs a new RErrorException with the specified detail message.

Parameters:
message - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.