Skip to content

Package: SOAPVersionMismatchException

SOAPVersionMismatchException

nameinstructionbranchcomplexitylinemethod
SOAPVersionMismatchException()
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%
SOAPVersionMismatchException(String)
M: 0 C: 4
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%
SOAPVersionMismatchException(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%
SOAPVersionMismatchException(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) 1997, 2022 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 com.sun.xml.messaging.saaj.soap;
12:
13: import com.sun.xml.messaging.saaj.SOAPExceptionImpl;
14:
15: public class SOAPVersionMismatchException extends SOAPExceptionImpl {
16:
17: private static final long serialVersionUID = -3681495393703865847L;
18:
19: /**
20: * Constructs a <code>SOAPExceptionImpl</code> object with no
21: * reason or embedded <code>Throwable</code> object.
22: */
23: public SOAPVersionMismatchException() {
24: super();
25: }
26:
27: /**
28: * Constructs a <code>SOAPExceptionImpl</code> object with the given
29: * <code>String</code> as the reason for the exception being thrown.
30: *
31: * @param reason a description of what caused the exception
32: */
33: public SOAPVersionMismatchException(String reason) {
34: super(reason);
35: }
36:
37: /**
38: * Constructs a <code>SOAPExceptionImpl</code> object with the given
39: * <code>String</code> as the reason for the exception being thrown
40: * and the given <code>Throwable</code> object as an embedded
41: * exception.
42: *
43: * @param reason a description of what caused the exception
44: * @param cause a <code>Throwable</code> object that is to
45: * be embedded in this <code>SOAPExceptionImpl</code> object
46: */
47: public SOAPVersionMismatchException(String reason, Throwable cause) {
48: super(reason, cause);
49: }
50:
51: /**
52: * Constructs a <code>SOAPExceptionImpl</code> object initialized
53: * with the given <code>Throwable</code> object.
54: *
55: * @param cause a <code>Throwable</code> object that is to
56: * be embedded in this <code>SOAPExceptionImpl</code> object
57: */
58: public SOAPVersionMismatchException(Throwable cause) {
59: super(cause);
60: }
61: }