com.oakgrovesystems.util
Interface ErrorHandler


public interface ErrorHandler

Implementations of ErrorHandler are used to seperate handling of runtime errors from the code where the error occured. A section of code can catch Error objects and redirect them to an ErrorHandler for processing instead of directly handling them or allowing them to halt execution and propagate up the stack.

It is important that the ThreadDeath subclass of Error receive special attention by any code that catches Errors. ThreadDeath should be rethrown to ensure that Threads actually die.


Method Summary
 void handle(java.lang.Error er)
          Handles an Error and does not rethrow it when it's finished handling it.
 

Method Detail

handle

public void handle(java.lang.Error er)
Handles an Error and does not rethrow it when it's finished handling it.

Parameters:
er - the Error to handle


Copyright (c) 1999-2004 Oak Grove Systems. All Rights Reserved.