01: /*
02: * This file is part of the WfMOpen project.
03: * Copyright (C) 2001-2005 Danet GmbH (www.danet.de), BU BTS.
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: ToolInvocationException.java,v 1.1 2007/05/03 21:58:20 mlipp Exp $
21: *
22: * $Log: ToolInvocationException.java,v $
23: * Revision 1.1 2007/05/03 21:58:20 mlipp
24: * Internal refactoring for making better use of local EJBs.
25: *
26: */
27: package de.danet.an.workflow.internalapi;
28:
29: import java.io.Serializable;
30:
31: /**
32: * This exception is thrown by a {@link
33: * de.danet.an.workflow.domain.ApplicationDefinition#invoke
34: * <code>ApplicationDefinition.invoke</code>} if it cannot execute a
35: * given activity.
36: */
37: public class ToolInvocationException extends Exception implements
38: Serializable {
39:
40: /**
41: * Creates a new exception with the given message.
42: * @param msg the detail message.
43: */
44: public ToolInvocationException(String msg) {
45: super (msg);
46: }
47:
48: /**
49: * Creates a new exception with the given message and cause.
50: * @param msg the detail message.
51: * @param cause initial cause.
52: */
53: public ToolInvocationException(String msg, Exception cause) {
54: super(msg, cause);
55: }
56: }
|