1 /*
2 * $Id: OperationMapperException.java 1419 2010-11-01 14:12:17Z hoheisel $
3 *
4 * Copyright (c) 2008, Fraunhofer FIRST
5 * Fraunhofer Institute for Computer Architecture and Software Technology
6 * See http://www.first.fraunhofer.de and http://www.gridworkflow.org/gwes for more details.
7 */
8 package net.kwfgrid.gwes.exception;
9
10 /**
11 * Signals that there is an execption with mapping an operation.
12 * @author Andreas Hoheisel
13 * (<a href="http://www.andreas-hoheisel.de">www.andreas-hoheisel.de</a>)
14 * @version $Id: OperationMapperException.java 1419 2010-11-01 14:12:17Z hoheisel $
15 */
16 public class OperationMapperException extends Exception{
17
18 /**
19 * Constructs a new <code>OperatonMapperException</code> with <code>null</code> as its detail message.
20 * The cause is not initialized, and may subsequently be initialized by a
21 * call to {@link #initCause}.
22 */
23 public OperationMapperException() {
24 super();
25 }
26
27 /**
28 * Constructs a new <code>OperatonMapperException</code> with the specified detail message. The
29 * cause is not initialized, and may subsequently be initialized by
30 * a call to {@link #initCause}.
31 *
32 * @param message the detail message. The detail message is saved for
33 * later retrieval by the {@link #getMessage()} method.
34 */
35 public OperationMapperException(String message) {
36 super(message);
37 }
38
39 /**
40 * Constructs a new <code>OperatonMapperException</code> with the specified detail message and
41 * cause. <p>Note that the detail message associated with
42 * <code>cause</code> is <i>not</i> automatically incorporated in
43 * this exception's detail message.
44 *
45 * @param message the detail message (which is saved for later retrieval
46 * by the {@link #getMessage()} method).
47 * @param cause the cause (which is saved for later retrieval by the
48 * {@link #getCause()} method). (A <tt>null</tt> value is
49 * permitted, and indicates that the cause is nonexistent or
50 * unknown.)
51 * @since 1.4
52 */
53 public OperationMapperException(String message, Throwable cause) {
54 super(message, cause);
55 }
56
57 }