C# Class CSJ2K.j2k.JJ2KExceptionHandler

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

Show file Open project: cureos/csj2k

Public Methods

Method Description
handleException ( System e ) : void

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.

Method Details

handleException() public static method

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.

public static handleException ( System e ) : void
e System The exception to handle /// /// /// ///
return void