Package org.jboss.util

Examples of org.jboss.util.NestedRuntimeException


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


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

      {
         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

         throw (RuntimeException) t;
      if (t instanceof Error)
         throw (Error) t;
      if (t instanceof RollbackException)
         throw new IllegalStateException(context + " tx=" + tx + " marked for rollback.");
      throw new NestedRuntimeException(context + " tx=" + tx + " got unexpected error ", t);
   }
View Full Code Here

         txSynchs.lock(tx);
      }
      catch (InterruptedException e)
      {
         Thread.currentThread().interrupt();
         throw new NestedRuntimeException("Unable to get synchronization", e);
      }
   }
View Full Code Here

      }
      catch (Exception e)
      {
         String error = "Unable to invoke setter method '" + setter + "' " + "on object '" + mcf + "'";
         if (e instanceof InvocationTargetException)
            throw new NestedRuntimeException(error, ((InvocationTargetException) e).getCause());
         else
            throw new NestedRuntimeException(error, e);
      }
      sendNotification(new Notification(MCF_ATTRIBUTE_CHANGED_NOTIFICATION, getServiceName(),
            getNextNotificationSequenceNumber()));
   }
View Full Code Here

      catch (Exception e)
      {
         String error = "Unable to invoke getter method '" + getter + "' " + "on object '" + mcf + "'";
         log.debug(error, e);
         if (e instanceof InvocationTargetException)
            throw new NestedRuntimeException(error, ((InvocationTargetException) e).getCause());
         else
            throw new NestedRuntimeException(error, e);
      }
   }
View Full Code Here

         {
            connectionProps.load(is);
         }
         catch (IOException ioe)
         {
            throw new NestedRuntimeException("Could not load connection properties", ioe);
         }
      }
   }
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.