001// Copyright (c) 2001 Hursh Jain (http://www.mollypages.org) 002// The Molly framework is freely distributable under the terms of an 003// MIT-style license. For details, see the molly pages web site at: 004// http://www.mollypages.org/. Use, modify, have fun ! 005 006package fc.util; 007 008/** 009Argcheck failure handlers should implement this interface. 010**/ 011public interface IArgcheckFailHandler 012{ 013/** 014This method will be called on by the {@link fc.app.Checker} class in 015case of an Argcheck failure. See {@link fc.app.Argcheck}. 016<p> 017Therefore, implementations can do neat things like writing 018detailed thread/stack information or even paging/sending email. 019After doing other handling, Implementations should end this 020method by throwing a RuntimeException (unless there is a very 021strong reason not to). 022**/ 023public void handle(String msg); 024}