01: // $Id: WithdrawAspectsException.java,v 1.1.1.1 2003/07/02 15:30:53 apopovic Exp $
02: // =====================================================================
03: //
04: // (history at end)
05: //
06:
07: package ch.ethz.prose.tools;
08:
09: import java.util.*;
10:
11: /**
12: * Exception class WithdrawAspectsException signals that XXX
13: *
14: * @version $Revision: 1.1.1.1 $
15: * @author Andrei Popovici
16: */
17: public class WithdrawAspectsException extends Exception {
18:
19: private static final long serialVersionUID = 3905236814720677427L;
20:
21: public List exceptionsDuringPaste = new Vector();
22:
23: /**
24: * Constructs an <code>WithdrawAspectsException</code> with no detail message.
25: */
26: public WithdrawAspectsException() {
27: super ();
28: }
29:
30: /**
31: * Constructs an <code>WithdrawAspectsException</code> with the specified
32: * detail message.
33: */
34: public WithdrawAspectsException(String s) {
35: super (s);
36: }
37:
38: public void add(Throwable x) {
39: exceptionsDuringPaste.add(x);
40: }
41:
42: public boolean containsExceptions() {
43: return !exceptionsDuringPaste.isEmpty();
44: }
45:
46: public String getMessage() {
47: return exceptionsDuringPaste.toString();
48: }
49:
50: }
51:
52: //======================================================================
53: //
54: // $Log: WithdrawAspectsException.java,v $
55: // Revision 1.1.1.1 2003/07/02 15:30:53 apopovic
56: // Imported from ETH Zurich
57: //
58: // Revision 1.1 2003/05/25 13:25:20 popovici
59: // Refactoring
60: // inf.iks.tools is now prose.tools
61: // Stupid 'MyTableModel' renamed to 'WorksheetClientMode'
62: // - other renamings from bad names to reasonable names
63: //
64: // Revision 1.1 2003/05/25 12:57:04 popovici
65: // Initial revision
66: //
|