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 Object
invokeJavaObjectMethod(InvocationHandler handler, Method method, Object[] args)
static boolean
isDeclaredException(Throwable t, Class[] declaredExceptions)
static void
throwLocalException(Throwable t, Class[] declaredExceptions)
static void
throwRemoteException(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
-
-