|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.rosuda.REngine.REngineException
org.rosuda.REngine.REngineEvalException
public class REngineEvalException
Exception thrown when an error occurs during eval.
This class is a placeholder and should be extended when more information can be extracted from R (call stack, etc ... )
| Field Summary | |
|---|---|
static int |
ERROR
Value returned by the rniEval native method when an error occured during eval (stop, ...) |
static int |
INVALID_INPUT
Value returned by the rniEval native method when the input passed to eval is invalid |
protected int |
type
Type of eval error |
| Fields inherited from class org.rosuda.REngine.REngineException |
|---|
engine |
| Constructor Summary | |
|---|---|
REngineEvalException(REngine eng,
java.lang.String message)
Constructor using ERROR type |
|
REngineEvalException(REngine eng,
java.lang.String message,
int type)
Constructor |
|
| Method Summary | |
|---|---|
int |
getType()
|
| Methods inherited from class org.rosuda.REngine.REngineException |
|---|
getEngine |
| 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 |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int INVALID_INPUT
public static final int ERROR
protected int type
| Constructor Detail |
|---|
public REngineEvalException(REngine eng,
java.lang.String message,
int type)
eng - associated REnginemessage - error messagetype - type of error (ERROR or INVALID_INPUT)
public REngineEvalException(REngine eng,
java.lang.String message)
eng - associated REnginemessage - error message| Method Detail |
|---|
public int getType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||