ProgramixGenericLib v5.0.1

com.programix.thread
Class ConsoleExceptionHandler

java.lang.Object
  extended by com.programix.thread.ConsoleExceptionHandler
All Implemented Interfaces:
ExceptionHandler

public class ConsoleExceptionHandler
extends Object
implements ExceptionHandler

An implementation of ExceptionHandler that prints a stack trace to System.err.

Author:
Paul Hyde

Constructor Summary
ConsoleExceptionHandler()
           
 
Method Summary
 void handle(Exception x)
          Called when a thread encounters an exception and does not know where to report it.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConsoleExceptionHandler

public ConsoleExceptionHandler()
Method Detail

handle

public void handle(Exception x)
Description copied from interface: ExceptionHandler
Called when a thread encounters an exception and does not know where to report it.

Specified by:
handle in interface ExceptionHandler

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.