org.portico.impl.cpp13
Class ExceptionManager
java.lang.Object
org.portico.impl.cpp13.ExceptionManager
public class ExceptionManager
- extends Object
Method Summary |
static void |
pushException(int rtiid,
String name,
String reason)
Native method that takes an exception that occurred in the java-side of the interface |
static void |
pushException(int rtiid,
Throwable exception)
The same as the native version of push exception, except that the message
is appended with the stack trace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExceptionManager
public ExceptionManager()
pushException
public static void pushException(int rtiid,
Throwable exception)
- The same as the native version of push exception, except that the message
is appended with the stack trace
- Parameters:
name
- The C++ name of the exception (without the RTI:: prefix)e
- The exception to be pushed.
pushException
public static void pushException(int rtiid,
String name,
String reason)
- Native method that takes an exception that occurred in the java-side of the interface