Package org.glassfish.jndi.cosnaming
Class ExceptionMapper
- java.lang.Object
-
- org.glassfish.jndi.cosnaming.ExceptionMapper
-
public final class ExceptionMapper extends java.lang.Object
A convenience class to map the COS Naming exceptions to the JNDI exceptions.
-
-
Field Summary
Fields Modifier and Type Field Description private static boolean
debug
-
Constructor Summary
Constructors Modifier Constructor Description private
ExceptionMapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.naming.NamingException
mapException(java.lang.Exception e, CNCtx ctx, NameComponent[] inputName)
private static javax.naming.NamingException
tryFed(NotFound e, CNCtx ctx, NameComponent[] inputName)
-
-
-
Field Detail
-
debug
private static final boolean debug
- See Also:
- Constant Field Values
-
-
Method Detail
-
mapException
public static final javax.naming.NamingException mapException(java.lang.Exception e, CNCtx ctx, NameComponent[] inputName) throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
-
tryFed
private static final javax.naming.NamingException tryFed(NotFound e, CNCtx ctx, NameComponent[] inputName) throws javax.naming.NamingException
- Throws:
javax.naming.NamingException
-
-