01: /*
02: * ====================================================================
03: * The JRefactory License, Version 1.0
04: *
05: * Copyright (c) 2003 JRefactory. All rights reserved.
06: *
07: * Redistribution and use in source and binary forms, with or without
08: * modification, are permitted provided that the following conditions
09: * are met:
10: *
11: * 1. Redistributions of source code must retain the above copyright
12: * notice, this list of conditions and the following disclaimer.
13: *
14: * 2. Redistributions in binary form must reproduce the above copyright
15: * notice, this list of conditions and the following disclaimer in
16: * the documentation and/or other materials provided with the
17: * distribution.
18: *
19: * 3. The end-user documentation included with the redistribution,
20: * if any, must include the following acknowledgment:
21: * "This product includes software developed by the
22: * JRefactory (http://www.sourceforge.org/projects/jrefactory)."
23: * Alternately, this acknowledgment may appear in the software itself,
24: * if and wherever such third-party acknowledgments normally appear.
25: *
26: * 4. The names "JRefactory" must not be used to endorse or promote
27: * products derived from this software without prior written
28: * permission. For written permission, please contact seguin@acm.org.
29: *
30: * 5. Products derived from this software may not be called "JRefactory",
31: * nor may "JRefactory" appear in their name, without prior written
32: * permission of Chris Seguin.
33: *
34: * THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED
35: * WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
36: * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
37: * DISCLAIMED. IN NO EVENT SHALL THE CHRIS SEGUIN OR
38: * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
39: * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
40: * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
41: * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
42: * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
43: * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
44: * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
45: * SUCH DAMAGE.
46: * ====================================================================
47: *
48: * This software consists of voluntary contributions made by many
49: * individuals on behalf of JRefactory. For more information on
50: * JRefactory, please see
51: * <http://www.sourceforge.org/projects/jrefactory>.
52: */
53: package net.sourceforge.jrefactory.factory;
54:
55: /**
56: * Prints exceptions
57: *
58: *@author Chris Seguin
59: *@created October 18, 2001
60: *@since 2.6.33
61: */
62: public interface ExceptionPrinter {
63:
64: /**
65: * Prints exceptions
66: *
67: *@param exc the exception to be printed
68: *@param interactive Description of the Parameter
69: *@since 2.6.33
70: */
71: void printException(Throwable exc, boolean interactive);
72:
73: }
|