Package mx4j.log

Examples of mx4j.log.Logger.warn()


   {
      Logger logger = getLogger();
      boolean done = registrationDone.booleanValue();
      if (!done)
      {
         logger.warn("Timer service " + objectName + " was not registered");
      }
      else
      {
         if (logger.isEnabledFor(Logger.TRACE)) logger.trace("Timer service " + objectName + " postRegistered successfully.");
      }
View Full Code Here


               boolean deliver = filter.isNotificationEnabled(notif);
               if (!deliver) return;
            }
            catch (Throwable x)
            {
               logger.warn("Throwable caught from isNotificationEnabled, filter = " + filter, x);
               // And go on quietly
            }
         }
      }
View Full Code Here

      {
         listener.handleNotification(notif, tuple.getHandback());
      }
      catch (Throwable x)
      {
         logger.warn("Throwable caught from handleNotification, listener = " + listener, x);
         // And return quietly
      }
   }

   protected Logger getLogger()
View Full Code Here

                  Thread.currentThread().interrupt();
                  break;
               }
               catch (Throwable x)
               {
                  if (logger.isEnabledFor(Logger.WARN)) logger.warn("Caught an unexpected exception", x);
               }
            }
         }
         finally
         {
View Full Code Here

                  Thread.currentThread().interrupt();
                  break;
               }
               catch (Throwable x)
               {
                  if (logger.isEnabledFor(Logger.WARN)) logger.warn("Caught an unexpected exception", x);
               }
            }
         }
         finally
         {
View Full Code Here

                  {
                     continue;
                  }
                  catch (Exception e)
                  {
                     logger.warn("Exception during request processing", e);
                     continue;
                  }
                  catch (Error e)
                  {
                     logger.error("Error during request processing", e);
View Full Code Here

               {
                  serverSocket.close();
               }
               catch (IOException e)
               {
                  logger.warn("Exception closing the server", e);
               }
               serverSocket = null;
               alive = false;
               if (logger.isEnabledFor(Logger.INFO)) logger.info("HttpAdaptor version " + VERSION + " stopped on port " + port);
            }
View Full Code Here

               HttpCommandProcessor processor = (HttpCommandProcessor)Class.forName(defaultCommandProcessors[i][1]).newInstance();
               commands.put(defaultCommandProcessors[i][0], processor);
            }
            catch (Exception e)
            {
               log.warn("Exception building command procesor", e);
            }
         }
      }
      catch (ParserConfigurationException e)
      {
View Full Code Here

               postProcess(httpOut, httpIn, document);
            }
         }
         catch (Exception ex)
         {
            log.warn("Exception during http request", ex);
            if (httpOut != null)
            {
               try
               {
                  postProcess(httpOut, httpIn, ex);
View Full Code Here

               {
                  postProcess(httpOut, httpIn, ex);
               }
               catch (IOException e)
               {
                  log.warn("IOException during http request", e);
               }
               catch (JMException e)
               {
                  log.warn("JMException during http request", e);
               }
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.