Tabnine Logo
LoggingUtils.logError
Code IndexAdd Tabnine to your IDE (free)

How to use
logError
method
in
org.apache.muse.util.LoggingUtils

Best Java code snippets using org.apache.muse.util.LoggingUtils.logError (Showing top 11 results out of 315)

origin: org.n52.amused/amused-wsrf-impl

  /**
   * 
   * Invokes the resource's WS-RL Destroy operation.
   *
   */
  public void run()
  {
    try
    {
      _resource.shutdown();
    }
    
    catch (SoapFault fault)
    {
      //
      // If the resource destructor fails, there's not much 
      // we can do - there is no caller to report back to, 
      // so we just log the info
      //
      LoggingUtils.logError(_resource.getLog(), fault);
    }
  }
}
origin: org.n52.amused/amused-wsn-impl

private void processMessageListeners(NotificationMessage message)
{
  Iterator i = getMessageListeners().iterator();
  
  while (i.hasNext())
  {
    NotificationMessageListener listener = (NotificationMessageListener)i.next();
    
    try
    {
      if (listener.accepts(message))
        listener.process(message);
    }
    
    catch (Throwable error)
    {
      LoggingUtils.logError(getLog(), error);
    }
  }
}

origin: org.n52.amused/amused-wsn-impl

private void processTopicListeners(NotificationMessage message)
{
  QName topic = message.getTopic();
  Iterator i = getTopicListeners(topic).iterator();
  
  while (i.hasNext())
  {
    NotificationMessageListener listener = (NotificationMessageListener)i.next();
    
    try
    {
      //
      // don't call accepts() - we assume that all listeners 
      // added for the topic want the message and require no 
      // further analysis
      //
      listener.process(message);
    }
    
    catch (Throwable error)
    {
      LoggingUtils.logError(getLog(), error);
    }
  }
}

origin: org.n52.amused/amused-wsrf-impl

LoggingUtils.logError(getLog(), fault);
origin: org.n52.amused/amused-core

  /**
   * 
   * {@inheritDoc}
   * <br><br>
   * This implementation iterates over the collection of resources in 
   * the ResourceManager and destroys each one. If one destructor fails, 
   * it is logged and we move on to the next resource.
   * 
   * @see #getResourceManager()
   * 
   */
  public void shutdown()
  {
    try
    {
      getResourceManager().shutdown();
    }
    
    catch (SoapFault error)
    {
      LoggingUtils.logError(getLog(), error);
    }
    
    _hasBeenShutdown = true;
  }
}
origin: org.n52.amused/amused-wsn-impl

public boolean accepts(NotificationMessage message)
{
  //
  // evaluate the xpath over the resource's current ws-rp doc - if the 
  // result is 'true', we publish the message
  //
  try
  {
    ResourcePropertyCollection props = _resource.getPropertyCollection();
    Element wsrpDoc = props.getResourcePropertyDocument();
    return XPathUtils.isMatch(wsrpDoc, _expression);
  }
  
  catch (Throwable error)
  {
    LoggingUtils.logError(_resource.getLog(), error);
    return false;
  }
}

origin: org.n52.amused/amused-wsn-impl

public void resourceRemoved(EndpointReference epr)
{
  //
  // this call is synchronized, so if we're publishing, the 
  // collection will not be updated until afterwards
  //
  boolean subExists = hasSubscription(epr);
  
  if (!subExists)
    return;
  
  removeSubscription(epr);
  
  NotificationProducerPersistence persistence = (NotificationProducerPersistence)getPersistence();
  
  try
  {
    if (persistence != null)
      persistence.resourceRemoved(epr);
  }
  
  catch (SoapFault fault)
  {
    LoggingUtils.logError(getLog(), fault);
  }
}
origin: org.n52.amused/amused-wsn-impl

  LoggingUtils.logError(getLog(), error);
LoggingUtils.logError(getLog(), error);
origin: org.n52.amused/amused-platform-mini

LoggingUtils.logError(router.getLog(), error);
origin: org.n52.amused/amused-core

  LoggingUtils.logCall(log, method, parameters);
LoggingUtils.logError(log, error);
origin: org.n52.amused/amused-wsn-impl

LoggingUtils.logError(getLog(), fault);
org.apache.muse.utilLoggingUtilslogError

Javadoc

Writes a nicely-formatted message and stack trace to the given log using the information in the given exception. The format of the message is:

There was an error while processing a request:

the exception message

the stack trace, limited to 15 levels

------------------------------------------

Popular methods of LoggingUtils

  • logMessage
  • logCall
    Writes a nicely-formatted message that shows what parameter types were expected by the Java method a

Popular in Java

  • Making http post requests using okhttp
  • requestLocationUpdates (LocationManager)
  • notifyDataSetChanged (ArrayAdapter)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • BufferedWriter (java.io)
    Wraps an existing Writer and buffers the output. Expensive interaction with the underlying reader is
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • LinkedHashMap (java.util)
    LinkedHashMap is an implementation of Map that guarantees iteration order. All optional operations a
  • Set (java.util)
    A Set is a data structure which does not allow duplicate elements.
  • DataSource (javax.sql)
    An interface for the creation of Connection objects which represent a connection to a database. This
  • From CI to AI: The AI layer in your organization
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now