Package com.sun.ejb.containers
Class InvocationHandlerUtil
- java.lang.Object
-
- com.sun.ejb.containers.InvocationHandlerUtil
-
public final class InvocationHandlerUtil extends Object
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ObjectinvokeJavaObjectMethod(InvocationHandler handler, Method method, Object[] args)static booleanisDeclaredException(Throwable t, Class[] declaredExceptions)static voidthrowLocalException(Throwable t, Class[] declaredExceptions)static voidthrowRemoteException(Throwable t, Class[] declaredExceptions)
-
-
-
Method Detail
-
invokeJavaObjectMethod
public static Object invokeJavaObjectMethod(InvocationHandler handler, Method method, Object[] args) throws jakarta.ejb.EJBException
- Throws:
jakarta.ejb.EJBException
-
isDeclaredException
public static boolean isDeclaredException(Throwable t, Class[] declaredExceptions)
-
throwLocalException
public static void throwLocalException(Throwable t, Class[] declaredExceptions) throws Throwable
- Throws:
Throwable
-
-