org.jacorb.orb
Class ApplicationExceptionHelper

java.lang.Object
  extended by org.jacorb.orb.ApplicationExceptionHelper

public class ApplicationExceptionHelper
extends java.lang.Object

This class provides a method for inserting an arbirtary application exception into an any.

Version:
$Id: ApplicationExceptionHelper.java,v 1.17 2006/06/28 12:39:20 alphonse.bendt Exp $
Author:
Nicolas Noffke

Method Summary
static void insert(org.omg.CORBA.Any any, org.omg.CORBA.portable.ApplicationException exception)
          This method tries to insert the given ApplicationException into the given any by deriving the helper name from object id.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

insert

public static void insert(org.omg.CORBA.Any any,
                          org.omg.CORBA.portable.ApplicationException exception)
                   throws java.lang.ClassNotFoundException,
                          java.lang.NoSuchMethodException,
                          java.lang.IllegalAccessException,
                          java.lang.reflect.InvocationTargetException
This method tries to insert the given ApplicationException into the given any by deriving the helper name from object id.
All exceptions are propagated upward to be handled there.

Throws:
java.lang.ClassNotFoundException
java.lang.NoSuchMethodException
java.lang.IllegalAccessException
java.lang.reflect.InvocationTargetException