summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0.1-RC1/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceRuntimeException.java
blob: 8ebaa96500d212b8e225fe5cefa28569462809f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
 * Copyright(C) OASIS(R) 2005,2010. All Rights Reserved.
 * OASIS trademark, IPR and other policies apply.
 */
package org.oasisopen.sca;

/**
 * This exception signals problems in the management of SCA component execution.
 */
public class ServiceRuntimeException extends RuntimeException {
    /**
     * Constructs a ServiceRuntimeException with no detail message. 
     */
    public ServiceRuntimeException() {
        super();
    }

    /**
     * Constructs a ServiceRuntimeException with the specified detail
     * message. 
     *
     * @param     message the detail message
     */
    public ServiceRuntimeException(String message) {
        super(message);
    }

    /**
     * Constructs a ServiceRuntimeException with the specified detail
     * message and cause.
     *
     * The detail message associated with <code>cause</code> is not
     * automatically incorporated in this exception's detail message.
     *
     * @param     message the detail message
     * @param     cause the cause, or null if the cause is nonexistent
     *            or unknown
     */
    public ServiceRuntimeException(String message, Throwable cause) {
        super(message, cause);
    }
 
    /**
     * Constructs a ServiceRuntimeException with the specified cause and a
     * detail message of <tt>(cause==null ? null : cause.toString())</tt>.
     *
     * @param     cause the cause, or null if the cause is nonexistent
     *            or unknown
     */
    public ServiceRuntimeException(Throwable cause) {
        super(cause);
    }

    private static final long serialVersionUID = 6761623124602414622L;
}