Package mx4j.log

Examples of mx4j.log.Logger.warn()


                  {
                     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

               {
                  log.warn("IOException during http request", e);
               }
               catch (JMException e)
               {
                  log.warn("JMException during http request", e);
               }
               catch (RuntimeException rte)
               {
                  log.error("RuntimeException during http request", rte);
               }
View Full Code Here

                  httpOut.flush();
               }
            }
            catch (IOException e)
            {
               log.warn("Exception during request processing", e);
            }
            finally
            {
               try
               {
View Full Code Here

                     configure(null);
                     break;
                  }
                  catch (ConfigurationException x)
                  {
                     if (logger.isEnabledFor(Logger.WARN)) logger.warn("Bad configuration for shutdown", x);
                  }
               }
            }
         }
         catch (Exception x)
View Full Code Here

      // synchronize all activities to map.
      synchronized (m_relationTypeNameToRelationTypeObject)
      {
         if ((m_relationTypeNameToRelationTypeObject.get(relationTypeName)) != null)
         {
            logger.warn("Cannot addRelationType as a relationType of the same name: " + relationTypeName + " already exists in the RelationService");
            throw new InvalidRelationTypeException("RelationType with name: " + relationTypeName + " already exists in the RelationService");
         }
         // set the RelationTypeSupport internal flag to true indicating that the relationType has been declared in the relation service
         if (relationType instanceof RelationTypeSupport)
         {
View Full Code Here

      if (logger.isEnabledFor(Logger.DEBUG)) logger.debug("Adding a RelationType");

      List roleInfoList = relationType.getRoleInfos();
      if (roleInfoList == null)
      {
         logger.warn("Cannot add RelationType: " + relationType.getClass().getName() + " RoleInfo information was not provided with the RelationType.");
         throw new InvalidRelationTypeException("No RoleInfo provided with Relation Type");
      }
      // build the roleInfo[] to validate the RoleInfo
      RoleInfo[] roleInfos = new RoleInfo[roleInfoList.size()];
      int index = 0;
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.