1 /**
2 * Copyright 2005-2014 The Kuali Foundation
3 *
4 * Licensed under the Educational Community License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.opensource.org/licenses/ecl2.php
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16 package org.kuali.rice.kew.api;
17
18 import javax.xml.ws.WebFault;
19
20 /**
21 * A generic runtime exception thrown from KEW. Acts as the superclass for all runtime
22 * exceptions in KEW.
23 *
24 * @author Kuali Rice Team (rice.collab@kuali.org)
25 */
26 @WebFault(name = "WorkflowRuntimeFault", targetNamespace = KewApiConstants.Namespaces.KEW_NAMESPACE_2_0)
27 public class WorkflowRuntimeException extends RuntimeException {
28
29 private static final long serialVersionUID = 2012770642382150523L;
30
31 public WorkflowRuntimeException(String message) {
32 super(message);
33 }
34
35 public WorkflowRuntimeException() {
36 super();
37 }
38
39 public WorkflowRuntimeException(String message, Throwable cause) {
40 super(message, cause);
41 }
42
43 public WorkflowRuntimeException(Throwable cause) {
44 super(cause);
45 }
46 }