ccs.utils
Interface Hurlable


public interface Hurlable

For error reporting. Under some circumstances, you either can't or don't want to throw an exception. For example:

A Hurlable accepts a Throwable and reports it in a suitable manner. Typically this consists of logging it, and / or reporting it to the user directly.

NB. Implementations MUST be MT-safe, unless they know by some other means that hurls will only be generated from a single thread.


Method Summary
 void hurl(java.lang.Throwable e)
          Stuff Happened.
 

Method Detail

hurl

void hurl(java.lang.Throwable e)
Stuff Happened. Report it.

Parameters:
e - That which happened.