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: ScriptException.java,v 1.1 2007/05/03 21:58:20 mlipp Exp $
21: *
22: * $Log: ScriptException.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: /**
30: * This class represents an exception that has occurred during the
31: * evaluation of a script. This exception relplaces the
32: * <code>JavaScript</code> exception from rhino to avoid dependencies
33: * on rhino on the client side.
34: *
35: * @author <a href="mailto:lipp@danet.de">Michael Lipp</a>
36: * @version $Revision: 1.1 $
37: */
38:
39: public class ScriptException extends Exception {
40:
41: /**
42: * Creates an instance of <code>ScriptException</code>
43: * with all attributes initialized to given values.
44: * @param message the message
45: * @param cause the cause
46: */
47: public ScriptException(String message, Throwable cause) {
48: super(message, cause);
49: }
50:
51: }
|