Package org.jboss.util

Examples of org.jboss.util.NestedRuntimeException


      {
         admin.createConnectionFactory(name);
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException(
               "createConnectionFactory() operation failed", e);
      }
   }
View Full Code Here


      {
         admin.deleteConnectionFactory(name);
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException(
               "deleteConnectionFactory() operation failed", e);
      }
   }
View Full Code Here

         }
         log.info("Dumped JNDI context");
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException("error dumping JNDI context", e);
      }
   }
View Full Code Here

         Object object = cache.find(key);
         Field f = object.getClass().getDeclaredField(name);
         f.setAccessible(true);
         return f.get(object);
      } catch (Exception e) {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

         Object object = cache.find(key);
         Field f = object.getClass().getDeclaredField(name);
         f.setAccessible(true);
         return f.get(object);
      } catch (Exception e) {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

         Class oracleConnection = Thread.currentThread().getContextClassLoader().loadClass("oracle.jdbc.driver.OracleConnection");
         ping = oracleConnection.getMethod("pingDatabase", new Class[] { Integer.TYPE });
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException("Unable to resolve pingDatabase method:", e);
      }
   }
View Full Code Here

    public static HandleDelegate getDelegate() {
        try {
            final InitialContext ctx = new InitialContext();
            return (HandleDelegate) ctx.lookup("java:comp/HandleDelegate");
        } catch (NamingException e) {
            throw new NestedRuntimeException(e);
        }
    }
View Full Code Here

         {
            throw e;
         }
         catch (Throwable t)
         {
            throw new NestedRuntimeException("Cannot create TypeInfoFactory", t);
         }
      }
      return typeInfoFactory;
   }
View Full Code Here

         {
            throw e;
         }
         catch (Throwable t)
         {
            throw new NestedRuntimeException("Cannot create JoinpointFactoryBuilder", t);
         }
      }
      return joinpointFactoryBuilder;
   }
View Full Code Here

         }
      }
      catch (Exception e)
      {
         log.error(e);
         throw new NestedRuntimeException("JBossCacheSSOClusterManager.endTransaction(): ", e);
      }
   }
View Full Code Here

TOP

Related Classes of org.jboss.util.NestedRuntimeException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.