01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2003 Danet GmbH (www.danet.de), GS-AN.
04: * All rights reserved.
05: *
06: * This program is free software; you can redistribute it and/or modify
07: * it under the terms of the GNU General Public License as published by
08: * the Free Software Foundation; either version 2 of the License, or
09: * (at your option) any later version.
10: *
11: * This program is distributed in the hope that it will be useful,
12: * but WITHOUT ANY WARRANTY; without even the implied warranty of
13: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14: * GNU General Public License for more details.
15: *
16: * You should have received a copy of the GNU General Public License
17: * along with this program; if not, write to the Free Software
18: * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19: *
20: * $Id: CannotExecuteException.java,v 1.6 2006/09/29 12:32:10 drmlipp Exp $
21: *
22: * $Log: CannotExecuteException.java,v $
23: * Revision 1.6 2006/09/29 12:32:10 drmlipp
24: * Consistently using WfMOpen as projct name now.
25: *
26: * Revision 1.5 2006/09/26 11:23:19 drmlipp
27: * JavaDoc fixes.
28: *
29: * Revision 1.4 2006/03/08 14:46:44 drmlipp
30: * Synchronized with 1.3.3p5.
31: *
32: * Revision 1.3 2005/09/05 09:41:49 drmlipp
33: * Synchronized with 1.3.2.
34: *
35: * Revision 1.2 2005/08/25 13:24:22 drmlipp
36: * Synchronized with 1.3.1p6.
37: *
38: * Revision 1.1.1.1.6.1 2005/08/24 14:14:52 drmlipp
39: * Started implementation of exception mapping.
40: *
41: * Revision 1.1.1.1 2003/06/30 20:05:16 drmlipp
42: * Initial import
43: *
44: * Revision 1.2 2003/06/27 08:51:45 lipp
45: * Fixed copyright/license information.
46: *
47: * Revision 1.1 2002/12/19 21:37:42 lipp
48: * Reorganized interfaces.
49: *
50: * Revision 1.2 2002/09/17 09:20:12 lipp
51: * Added ApplicationNotStoppedException.
52: *
53: * Revision 1.1 2002/01/15 14:56:31 lipp
54: * Initial version.
55: *
56: */
57: package de.danet.an.workflow.spis.aii;
58:
59: import java.io.Serializable;
60:
61: /**
62: * This exception is thrown by a {@link ToolAgent
63: * <code>ToolAgent</code>} if it cannot execute a given activity.<P>
64: *
65: * As of version 1.3.2, this exception can be used as a wrapper for
66: * an exception that caused the tool failure. The wrapped exception can be
67: * mapped to a process level exception. See
68: * {@link ExceptionMappingProvider <code>ExceptionMappingProvider</code>} and
69: * the user manual for details.
70: */
71: public class CannotExecuteException extends Exception implements
72: Serializable {
73:
74: /**
75: * Creates a new exception with the given message.
76: * @param msg the detail message.
77: */
78: public CannotExecuteException(String msg) {
79: super (msg);
80: }
81:
82: /**
83: * Creates a new exception with the given message and cause.
84: * @param msg the detail message
85: * @param cause the cause
86: */
87: public CannotExecuteException(String msg, Throwable cause) {
88: super(msg, cause);
89: }
90:
91: }
|