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