net.sf.jomic.tools
Class ImagingExceptionThrowingImagingListener
java.lang.Object
net.sf.jomic.tools.ImagingExceptionThrowingImagingListener
- All Implemented Interfaces:
- javax.media.jai.util.ImagingListener
public class ImagingExceptionThrowingImagingListener
- extends Object
- implements javax.media.jai.util.ImagingListener
ImagingListener to prevent JAI from dumping internal exceptions to System.err.
Instead, the exceptions are logged, but only if the logger related to this class is set to
DEBUG.
- Author:
- Thomas Aglassinger
- See Also:
AbstractLogger.isDebugEnabled(),
System.err
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ImagingExceptionThrowingImagingListener
public ImagingExceptionThrowingImagingListener()
errorOccurred
public boolean errorOccurred(String message,
Throwable error,
Object where,
boolean isRetryable)
- Specified by:
errorOccurred in interface javax.media.jai.util.ImagingListener