Skip to content

Package: DisposeException

DisposeException

nameinstructionbranchcomplexitylinemethod
DisposeException(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%
DisposeException(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) 2011-2013 EclipseSource Muenchen GmbH and others.
3: *
4: * All rights reserved. This program and the accompanying materials
5: * are made available under the terms of the Eclipse Public License 2.0
6: * which accompanies this distribution, and is available at
7: * https://www.eclipse.org/legal/epl-2.0/
8: *
9: * SPDX-License-Identifier: EPL-2.0
10: *
11: * Contributors:
12: * Eugen Neufeld - initial API and implementation
13: *******************************************************************************/
14: package org.eclipse.emf.ecp.spi.core.util;
15:
16: /**
17: * This is an Exception that is thrown during dispose actions.
18: *
19: * @author Eugen Neufeld
20: * @since 1.1
21: *
22: */
23: public class DisposeException extends Exception {
24:         private static final long serialVersionUID = 1L;
25:
26:         /**
27:          * Constructs a new exception with the specified detail message and cause.
28:          *
29:          * @param message the detail message (which is saved for later retrieval by the getMessage() method).
30:          * @param cause the cause (which is saved for later retrieval by the getCause() method). (A null value is
31:          * permitted, and indicates that the cause is nonexistent or unknown.)
32:          */
33:         public DisposeException(String message, Throwable cause) {
34:                 super(message, cause);
35:         }
36:
37:         /**
38:          * Constructs a new exception with the specified cause and a detail message of (cause==null ? null :
39:          * cause.toString())
40:          *
41:          * @param cause the cause (which is saved for later retrieval by the getCause() method).
42:          */
43:         public DisposeException(Throwable cause) {
44:                 super(cause);
45:         }
46:
47: }