org.af.jhlir.call
Class RErrorException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
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. |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
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.