Groovy Documentation

org.codehaus.griffon.runtime.tasks
[Java] Class LoggingExceptionHandler

java.lang.Object
  org.codehaus.griffon.runtime.tasks.LoggingExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class LoggingExceptionHandler
extends Object

Authors:
Eike Kettner
Since:
01.04.11 22:17


Field Summary
private org.slf4j.Logger log

private boolean notifyOtherListeners

 
Constructor Summary
LoggingExceptionHandler(org.slf4j.Logger log)

LoggingExceptionHandler(org.slf4j.Logger log, boolean notifyOtherListeners)

 
Method Summary
boolean handleException(Object listener, Throwable t)

boolean isNotifyOtherListeners()

static LoggingExceptionHandler newInstance(org.slf4j.Logger log)

void setNotifyOtherListeners(boolean notifyOtherListeners)

 
Methods inherited from class Object
wait, wait, wait, equals, toString, hashCode, getClass, notify, notifyAll
 

Field Detail

log

private final org.slf4j.Logger log


notifyOtherListeners

private boolean notifyOtherListeners


 
Constructor Detail

LoggingExceptionHandler

public LoggingExceptionHandler(org.slf4j.Logger log)


LoggingExceptionHandler

public LoggingExceptionHandler(org.slf4j.Logger log, boolean notifyOtherListeners)


 
Method Detail

handleException

public boolean handleException(Object listener, Throwable t)


isNotifyOtherListeners

public boolean isNotifyOtherListeners()


newInstance

public static LoggingExceptionHandler newInstance(org.slf4j.Logger log)


setNotifyOtherListeners

public void setNotifyOtherListeners(boolean notifyOtherListeners)


 

Groovy Documentation