Skip to content

Package: WebServiceException

WebServiceException

nameinstructionbranchcomplexitylinemethod
WebServiceException()
M: 3 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
WebServiceException(String)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
WebServiceException(String, Throwable)
M: 5 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%
WebServiceException(Throwable)
M: 4 C: 0
0%
M: 0 C: 0
100%
M: 1 C: 0
0%
M: 2 C: 0
0%
M: 1 C: 0
0%

Coverage

1: /*
2: * Copyright (c) 2005, 2020 Oracle and/or its affiliates. All rights reserved.
3: *
4: * This program and the accompanying materials are made available under the
5: * terms of the Eclipse Distribution License v. 1.0, which is available at
6: * http://www.eclipse.org/org/documents/edl-v10.php.
7: *
8: * SPDX-License-Identifier: BSD-3-Clause
9: */
10:
11: package jakarta.xml.ws;
12:
13: /** The {@code WebServiceException} class is the base
14: * exception class for all Jakarta XML Web Services API runtime exceptions.
15: *
16: * @since 1.6, JAX-WS 2.0
17: **/
18:
19: public class WebServiceException extends java.lang.RuntimeException {
20:
21: /** Constructs a new exception with {@code null} as its
22: * detail message. The cause is not initialized.
23: **/
24: public WebServiceException() {
25: super();
26: }
27:
28: /** Constructs a new exception with the specified detail
29: * message. The cause is not initialized.
30: * @param message The detail message which is later
31: * retrieved using the getMessage method
32: **/
33: public WebServiceException(String message) {
34: super(message);
35: }
36:
37: /** Constructs a new exception with the specified detail
38: * message and cause.
39: *
40: * @param message The detail message which is later retrieved
41: * using the getMessage method
42: * @param cause The cause which is saved for the later
43: * retrieval throw by the getCause method
44: **/
45: public WebServiceException(String message, Throwable cause) {
46: super(message,cause);
47: }
48:
49: /** Constructs a new WebServiceException with the specified cause
50: * and a detail message of
51: * {@code (cause==null ? null : cause.toString())}
52: * (which typically contains the
53: * class and detail message of {@code cause}).
54: *
55: * @param cause The cause which is saved for the later
56: * retrieval throw by the getCause method.
57: * (A {@code null} value is permitted, and
58: * indicates that the cause is nonexistent or
59: * unknown.)
60: **/
61: public WebServiceException(Throwable cause) {
62: super(cause);
63: }
64:
65: }