org.apache.openejb.util
Class Exceptions
java.lang.Object
org.apache.openejb.util.Exceptions
public class Exceptions
- extends Object
- Version:
- $Rev: 710022 $ $Date: 2008-11-03 09:40:14 +0100 (Mo, 03. Nov 2008) $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Exceptions
public Exceptions()
initCause
public static <T extends Throwable> T initCause(T t,
Throwable cause)
- Removes the need for a cast when using initCause
- Parameters:
t
- cause
-
- Returns:
newIOException
public static IOException newIOException(String message,
Throwable cause)
newIOException
public static IOException newIOException(Throwable cause)
newNamingException
public static NamingException newNamingException(String message,
Throwable cause)
newNamingException
public static NamingException newNamingException(Throwable cause)
newRollbackException
public static RollbackException newRollbackException(String message,
Throwable cause)
newRollbackException
public static RollbackException newRollbackException(Throwable cause)
newAuthenticationException
public static AuthenticationException newAuthenticationException(String message,
Throwable cause)
newAuthenticationException
public static AuthenticationException newAuthenticationException(Throwable cause)
newEJBException
public static javax.ejb.EJBException newEJBException(String message,
Throwable cause)
newEJBException
public static javax.ejb.EJBException newEJBException(Throwable cause)
newNotSerializableException
public static NotSerializableException newNotSerializableException(String message,
Throwable cause)
newNotSerializableException
public static NotSerializableException newNotSerializableException(Throwable cause)
Copyright © 1999-2013 The Apache OpenEJB development community. All Rights Reserved.