Skip to content

Package: DeploymentException

DeploymentException

nameinstructionbranchcomplexitylinemethod
DeploymentException(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%
DeploymentException(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%

Coverage

1: /*
2: * Copyright (c) 2018, 2019 Oracle and/or its affiliates and others.
3: * All rights reserved.
4: *
5: * This program and the accompanying materials are made available under the
6: * terms of the Eclipse Public License v. 2.0, which is available at
7: * http://www.eclipse.org/legal/epl-2.0.
8: *
9: * This Source Code may also be made available under the following Secondary
10: * Licenses when the conditions for such availability set forth in the
11: * Eclipse Public License v. 2.0 are satisfied: GNU General Public License,
12: * version 2 with the GNU Classpath Exception, which is available at
13: * https://www.gnu.org/software/classpath/license.html.
14: *
15: * SPDX-License-Identifier: EPL-2.0 OR GPL-2.0 WITH Classpath-exception-2.0
16: */
17:
18: package jakarta.websocket;
19:
20: /**
21: * Checked exception indicating some kind of failure either to publish an endpoint on its server, or a failure to
22: * connect a client to its server.
23: *
24: * @author dannycoward
25: */
26: public class DeploymentException extends Exception {
27:
28: private static final long serialVersionUID = 7576860738144220015L;
29:
30: /**
31: * Creates a deployment exception with the given reason for the deployment failure.
32: *
33: * @param message the reason for the failure.
34: */
35: public DeploymentException(String message) {
36: super(message);
37: }
38:
39: /**
40: * Creates a deployment exception with the given reason for the deployment failure and wrapped cause of the failure.
41: *
42: * @param message the reason for the failure.
43: * @param cause the cause of the problem.
44: */
45: public DeploymentException(String message, Throwable cause) {
46: super(message, cause);
47: }
48: }