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