1 // REngine - generic Java/R API
3 // Copyright (C) 2006 Simon Urbanek
4 // --- for licensing information see LICENSE file in the original JRclient distribution ---
8 // Created by Simon Urbanek on Wed Jun 21 2006.
13 package org.rosuda.REngine;
15 /** <code>REngineException</code> is a generic exception that can be thrown by methods invoked on an R engine. */
16 public class REngineException extends Exception {
17 /** engine associated with this exception */
18 protected REngine engine;
20 /** creates an R engine exception
21 @param engine engine associated with this exception
22 @param msg message describing the cause */
23 public REngineException(REngine engine, String msg) {
28 /** returns the engine associated with this exception
29 @return engine associated with this exception */
30 public REngine getEngine() { return engine; }