org.objectweb.jeremie.helpers
Class CORBAHelpers

java.lang.Object
  extended byorg.objectweb.jeremie.helpers.CORBAHelpers

public class CORBAHelpers
extends Object

This class contains an helper methods to translate Java exceptions into CORBA system exceptions.


Constructor Summary
CORBAHelpers()
           
 
Method Summary
static SystemException systemException(Exception e, CompletionStatus completed)
          Translates a Java exception into a CORBA sytem exception with the specified completion status.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CORBAHelpers

public CORBAHelpers()
Method Detail

systemException

public static final SystemException systemException(Exception e,
                                                    CompletionStatus completed)
Translates a Java exception into a CORBA sytem exception with the specified completion status.

Parameters:
e - an exception;
completed - the completion status of the new exception.
Returns:
a CORBA system exception.