summaryrefslogtreecommitdiffstats
path: root/sca-java-2.x/tags/2.0.1-RC1/modules/sca-api/src/main/java/org/oasisopen/sca/ServiceUnavailableException.java
blob: 355a84a4c374fb1ef220c0202f78f281c0d9c242 (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
56
57
58
59
60
61
62
/*
 * 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 interaction with remote
 * services.
 *
 * These are exceptions that can be transient, so retrying is
 * appropriate.  Any exception that is a ServiceRuntimeException
 * that is not a ServiceUnavailableException is unlikely to be
 * resolved by retrying the operation, since it most likely
 * requires human intervention.
 */
public class ServiceUnavailableException extends ServiceRuntimeException {
    /**
     * Constructs a ServiceUnavailableException with no detail message. 
     */
    public ServiceUnavailableException() {
        super();
    }

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

    /**
     * Constructs a ServiceUnavailableException 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 ServiceUnavailableException(String message, Throwable cause) {
        super(message, cause);
    }
 
    /**
     * Constructs a ServiceUnavailableException 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 ServiceUnavailableException(Throwable cause) {
        super(cause);
    }

    private static final long serialVersionUID = 5750303470949048271L;
}