Class 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()  
    • Constructor Detail

      • ExceptionMapper

        private ExceptionMapper()
    • 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