Package org.glassfish.jndi.cosnaming
Class ExceptionMapper
- java.lang.Object
-
- org.glassfish.jndi.cosnaming.ExceptionMapper
-
public final class ExceptionMapper extends java.lang.ObjectA convenience class to map the COS Naming exceptions to the JNDI exceptions.
-
-
Field Summary
Fields Modifier and Type Field Description private static booleandebug
-
Constructor Summary
Constructors Modifier Constructor Description privateExceptionMapper()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static javax.naming.NamingExceptionmapException(java.lang.Exception e, CNCtx ctx, NameComponent[] inputName)private static javax.naming.NamingExceptiontryFed(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
-
-