Package org.hornetq.api.core

Examples of org.hornetq.api.core.HornetQException.initCause()


      // We don't want to log this - since it is normal for this to happen during failover/reconnect
      // and we don't want to spew out stack traces in that event
      // The user has access to this exeception anyway via the HornetQException initial cause

      HornetQException me = HornetQClientMessageBundle.BUNDLE.nettyError();
      me.initCause(cause);

      synchronized (listener)
      {
         try
         {
View Full Code Here


         {
            if (requiresResponse)
            {
               log.warn("Sending unexpected exception to the client", t);
               HornetQException hqe = new HornetQException(HornetQException.INTERNAL_ERROR);
               hqe.initCause(t);
               response = new HornetQExceptionMessage(hqe);
            }
            else
            {
               log.error("Caught unexpected exception", t);
View Full Code Here

      // We don't want to log this - since it is normal for this to happen during failover/reconnect
      // and we don't want to spew out stack traces in that event
      // The user has access to this exeception anyway via the HornetQException initial cause

      HornetQException me = new HornetQException(HornetQException.INTERNAL_ERROR, "Netty exception");
      me.initCause(e.getCause());

      synchronized (listener)
      {
         try
         {
View Full Code Here

         {
            if (requiresResponse)
            {
               log.warn("Sending unexpected exception to the client", t);
               HornetQException hqe = new HornetQException(HornetQException.INTERNAL_ERROR);
               hqe.initCause(t);
               response = new HornetQExceptionMessage(hqe);
            }
            else
            {
               log.error("Caught unexpected exception", t);
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. 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.