ProgramixGenericLib v5.0.1

com.programix.thread
Interface ExceptionHandler

All Known Implementing Classes:
ConsoleExceptionHandler

public interface ExceptionHandler

Sometimes self-running objects accept an ExceptionHandler as a means to have the self-running object's internal thread report unexpected trouble. The ExceptionHandler is then responsible for deciding where to report the exception.

Author:
Paul Hyde

Method Summary
 void handle(Exception x)
          Called when a thread encounters an exception and does not know where to report it.
 

Method Detail

handle

void handle(Exception x)
Called when a thread encounters an exception and does not know where to report it.


ProgramixGenericLib v5.0.1

Copyright © 2001-2009 Programix Incorporated. All rights reserved. ProgramixGenericLib is free and is OSI Certified Open Source Software under the BSD license.