Package org.jboss.util

Examples of org.jboss.util.NestedRuntimeException


      {
         initPing();
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException("Unable to resolve pingDatabase method:", e);
      }
   }
View Full Code Here


      }
      catch (Exception e)
      {
         String error = "Unable to set property '" + name + "' " + "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

         }
         catch (Exception e)
         {
            String error = "Unable to set property '" + name + "' " + "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

         {
            return getCM().getTimeLeftBeforeTransactionTimeout(errorRollback);
         }
         catch (ResourceException e)
         {
            throw new NestedRuntimeException("Unable to retrieve connection manager", e);
         }
      }
View Full Code Here

         {
            return getCM().getTransactionTimeout();
         }
         catch (ResourceException e)
         {
            throw new NestedRuntimeException("Unable to retrieve connection manager", e);
         }
      }
View Full Code Here

         {
            getCM().checkTransactionActive();
         }
         catch (ResourceException e)
         {
            throw new NestedRuntimeException("Unable to retrieve connection manager", e);
         }
      }
View Full Code Here

         value = getServer().getAttribute(observedObject, attribute);
         if (compare(value) != compareTo) return;
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException("Failed to compare threshold, mbean failure", e);
      }

      alertSent = true;
      triggerTime = System.currentTimeMillis();
      triggeredAttributeValue = value;
View Full Code Here

      {
         return dateFormat.parse(date);
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException(e);
      }
   }
View Full Code Here

      {
         return dateFormat.parse(date);
      }
      catch (Exception e)
      {
         throw new NestedRuntimeException(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.