ucar.jpeg.jj2000.j2k
Class JJ2KExceptionHandler
java.lang.Object
ucar.jpeg.jj2000.j2k.JJ2KExceptionHandler
public class JJ2KExceptionHandler
- extends Object
This class handles exceptions. It should be used in places where it
is not known how to handle the exception, and the exception can not
be thrown higher in the stack.
Different options can be registered for each Thread and
ThreadGroup. This feature is not implemented yet
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JJ2KExceptionHandler
public JJ2KExceptionHandler()
handleException
public static void handleException(Throwable e)
- Handles the exception. If no special action is registered for
the current thread, then the Exception's stack trace and a
descriptive message are printed to standard error and the
current thread is stopped.
Registration of special actions is not implemented yet.
- Parameters:
e
- The exception to handle
Copyright © 1999-2011 UCAR/Unidata. All Rights Reserved.