Tabnine Logo
Log.error
Code IndexAdd Tabnine to your IDE (free)

How to use
error
method
in
uk.org.retep.logging.Log

Best Java code snippets using uk.org.retep.logging.Log.error (Showing top 13 results out of 315)

origin: uk.org.retep.tools/io

protected final void error( final String msg, final Object... args )
{
  if( log != null )
  {
    log.error( msg, args );
  }
}
origin: uk.org.retep.tools/io

protected final void error( final String msg, final Object... args )
{
  if( log != null )
  {
    log.error( message, args );
  }
}
origin: uk.org.retep.tools/httpd

public final void handle( final HttpExchange exchange )
    throws IOException
{
  try
  {
    processExchange( exchange );
  }
  catch( IOException ioe )
  {
    getLog().error( "IOException", ioe );
    // pass IOException through
    throw ioe;
  }
  catch( RuntimeException re )
  {
    getLog().error( "RuntimeException", re );
    // pass RuntimeExceptions through
    throw re;
  }
  catch( Exception t )
  {
    getLog().error( "Uncaught Exception %s", t, t.getClass() );
  }
  finally
  {
    exchange.close();
  }
}
origin: uk.org.retep.tools/nio

final void close( final SocketProcessorHandler handler,
         final SocketChannel channel )
{
  try
  {
    closeSocketProcessorHandler( handler, channel );
    handler.closing( channel );
  }
  finally
  {
    try
    {
      channel.close();
    }
    catch( IOException ioe )
    {
      getLog().error( "IOException while closing channel", ioe );
    }
  }
}
origin: uk.org.retep.tools/xml

  getLog().error(
      "Exception during processing of node %s:%s",
      ex2,
getLog().error(
    "Exception during processing of node %s:%s",
    ex1,
origin: uk.org.retep.tools/nio

getLog().error( "Closing channel %s", channel );
try
origin: uk.org.retep.templateEngine/templateEngine

getLog().error( "Unable to instantiate TemplateService %s",
        ie,
        clazz );
getLog().error( "Unable to access TemplateService %s",
        iae,
        clazz );
origin: uk.org.retep.tools/nio

  @Override
  protected void stopImpl()
  {
    if( getServerChannel() != null )
    {
      try
      {
        getServerChannel().close();
      }
      catch( IOException ex )
      {
        getLog().error( "Failed to close serverChannel", ex );
      }
      finally
      {
        setServerChannel( null );
      }
    }
  }
}
origin: uk.org.retep.tools/nio

private final void runSelectionKey( SelectionKey key )
{
  try
  {
    if( !key.isValid() )
    {
      invalid( key );
    }
    else if( key.isAcceptable() )
    {
      accept( key );
    }
    else if( key.isConnectable() )
    {
      connect( key );
    }
    else if( key.isReadable() )
    {
      read( key );
    }
    else if( key.isWritable() )
    {
      write( key );
    }
  }
  catch( Exception ex )
  {
    getLog().error( "Exception during select()", ex );
  }
}
origin: uk.org.retep.tools/nio

getLog().error( "Failed to register selector", ex );
return;
  getLog().error( "Exception during select() in Thread %s", ex,
          Thread.currentThread().getName() );
origin: uk.org.retep.microkernel.web/jersey

  @Override
  protected void initiate( final ResourceConfig rc, final WebApplication wa )
  {
    try
    {
      // Add all classes discovered by the post processor to the ResourceConfig
      final Set<Class<?>> classes =
          Kernel.getInstance().<KernelComponentPostProcessor>getBean(
          PROCESSOR_BEAN ).getClasses();

      log.debug( "Discovered %d provider/root classes", classes.size() );

      rc.getClasses().addAll( classes );

      log.debug( "%d provider/root classes in config",
            rc.getClasses().size() );

      // Now initiate the WebApplication
      wa.initiate( rc, new KernelComponentProviderFactory() );
    }
    catch( RuntimeException e )
    {
      log.error( "Exception occurred when intialization", e );
      throw e;
    }
  }
}
origin: uk.org.retep.xmpp/core

serverLog.error( "ErrorCondition.%s", xe, ec );
ec.respond( this, message );
origin: uk.org.retep.xmpp.server/multiUserChat

getLog().error( "%s: XMPPException[%s] - requested \"%s\" using \"%s\"",
        chatRoomJid,
        errorCode,
uk.org.retep.loggingLogerror

Popular methods of Log

  • debug
  • info
  • fatal
  • isDebugEnabled
  • isInfoEnabled
  • warn

Popular in Java

  • Creating JSON documents from java classes using gson
  • getResourceAsStream (ClassLoader)
  • addToBackStack (FragmentTransaction)
  • compareTo (BigDecimal)
  • Component (java.awt)
    A component is an object having a graphical representation that can be displayed on the screen and t
  • Time (java.sql)
    Java representation of an SQL TIME value. Provides utilities to format and parse the time's represen
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Cipher (javax.crypto)
    This class provides access to implementations of cryptographic ciphers for encryption and decryption
  • JLabel (javax.swing)
  • Location (org.springframework.beans.factory.parsing)
    Class that models an arbitrary location in a Resource.Typically used to track the location of proble
  • Top plugins for WebStorm
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