copyright The Portico Project 2008.

org.portico.impl.cpp13
Class ExceptionManager

java.lang.Object
  extended by org.portico.impl.cpp13.ExceptionManager

public class ExceptionManager
extends Object


Constructor Summary
ExceptionManager()
           
 
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
 

Constructor Detail

ExceptionManager

public ExceptionManager()
Method Detail

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


copyright The Portico Project 2008.