org.objectweb.jeremie.helpers

Class CORBAHelpers


public class CORBAHelpers
extends Object

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

Method Summary

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

Method Details

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.