org.jacorb.orb
Class ApplicationExceptionHelper

java.lang.Object
  extended byorg.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.14 2003/11/07 14:15:53 francisco Exp $
Author:
Nicolas Noffke

Constructor Summary
ApplicationExceptionHelper()
           
 
Method Summary
static void insert(Any any, ApplicationException s)
          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
 

Constructor Detail

ApplicationExceptionHelper

public ApplicationExceptionHelper()
Method Detail

insert

public static void insert(Any any,
                          ApplicationException s)
                   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