Class BasicArgcheckFailHandler
java.lang.Object
fc.util.BasicArgcheckFailHandler
- All Implemented Interfaces:
IArgcheckFailHandler
Handles argument
Argcheck errors by printing the thread, time and stack trace
to System.err. System.err is chosen because the
default assertion mechanism also writes a message to that location.
After writing the message to System.err, a new
IllegalArgumentException is thrown.
Date: 5/30/2002- Version:
- 1.0
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
BasicArgcheckFailHandler
public BasicArgcheckFailHandler()
-
-
Method Details
-
handle
Description copied from interface:IArgcheckFailHandlerThis method will be called on by theArgcheckclass in case of an Argcheck failure. SeeArgcheck.Therefore, implementations can do neat things like writing detailed thread/stack information or even paging/sending email. After doing other handling, Implementations should end this method by throwing a RuntimeException (unless there is a very strong reason not to).
- Specified by:
handlein interfaceIArgcheckFailHandler
-