lacam.container
Class ErrorQeue

java.lang.Object
  extended bylacam.container.ErrorQeue

public class ErrorQeue
extends java.lang.Object

The error management of the system. All exceptions will end up here. If any special exception handling is needed a class implementing the ErrorQeueListener interface can be attached to the error qeue to receive errors thrown in the system.

Author:
Dimitrij Zub
See Also:
ErrorDispatcher

Constructor Summary
ErrorQeue()
           
 
Method Summary
static void addListener(ErrorQeueListener l)
          Adds an ErrorQeueListener.
static void dismiss(java.lang.Throwable t)
          Removes the Throwable t from the errors log.
static void put(java.lang.Throwable e)
          Puts a Throwable into the qeue
static void removeListener(ErrorQeueListener l)
          Removes an ErrorQeueListener.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorQeue

public ErrorQeue()
Method Detail

put

public static void put(java.lang.Throwable e)
Puts a Throwable into the qeue

Parameters:
e - The Throwable to put...

addListener

public static void addListener(ErrorQeueListener l)
Adds an ErrorQeueListener.

Parameters:
l - The listener to add.

removeListener

public static void removeListener(ErrorQeueListener l)
Removes an ErrorQeueListener.

Parameters:
l - The listener to remove

dismiss

public static void dismiss(java.lang.Throwable t)
Removes the Throwable t from the errors log. (intern)

Parameters:
t -