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: InvalidStateException.java,v 1.2 2006/09/29 12:32:09 drmlipp Exp $
21: *
22: * $Log: InvalidStateException.java,v $
23: * Revision 1.2 2006/09/29 12:32:09 drmlipp
24: * Consistently using WfMOpen as projct name now.
25: *
26: * Revision 1.1.1.1 2003/06/30 20:05:16 drmlipp
27: * Initial import
28: *
29: * Revision 1.2 2003/06/27 08:51:45 lipp
30: * Fixed copyright/license information.
31: *
32: * Revision 1.1 2003/04/26 16:11:14 lipp
33: * Moved some classes to reduce package dependencies.
34: *
35: * Revision 1.3 2001/10/10 12:57:23 schlue
36: * Errors found by "ant doccheck" fixed
37: *
38: * Revision 1.2 2001/08/23 13:22:20 lipp
39: * Added constructors with message
40: *
41: * Revision 1.1 2001/07/26 21:00:08 lipp
42: * Added Exceptions
43: *
44: */
45: package de.danet.an.workflow.omgcore;
46:
47: import java.io.Serializable;
48:
49: /**
50: * This exception is raised by an attempt to change the state of a
51: * {@link de.danet.an.workflow.omgcore.WfExecutionObject <code>WfExecutionObject</code>}
52: * to a state that is not defined for that object.
53: **/
54: public class InvalidStateException extends Exception implements
55: Serializable {
56:
57: /**
58: * Creates a new <code>InvalidStateException</code>.
59: */
60: public InvalidStateException() {
61: }
62:
63: /**
64: * Creates a new <code>InvalidStateException</code> with the
65: * given message.
66: * @param msg Description of the cause.
67: */
68: public InvalidStateException(String msg) {
69: super(msg);
70: }
71: }
|