org.omnaest.utils.events.exception.basic
Class ExceptionHandlerLogging

java.lang.Object
  extended by org.omnaest.utils.events.exception.basic.ExceptionHandlerLogging
All Implemented Interfaces:
Serializable, ExceptionHandler, ExceptionHandlerSerializable

public class ExceptionHandlerLogging
extends Object
implements ExceptionHandlerSerializable

Simple ExceptionHandler which logs as ERROR using a slf4j Logger instance

Author:
Omnaest
See Also:
Serialized Form

Constructor Summary
ExceptionHandlerLogging(org.slf4j.Logger logger)
           
 
Method Summary
 void handleException(Exception e)
          Handles the given Exception
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandlerLogging

public ExceptionHandlerLogging(org.slf4j.Logger logger)
Parameters:
logger -
See Also:
ExceptionHandlerLogging
Method Detail

handleException

public void handleException(Exception e)
Description copied from interface: ExceptionHandler
Handles the given Exception

Specified by:
handleException in interface ExceptionHandler
Parameters:
e - Exception


Copyright © 2013. All Rights Reserved.