Skip to content

Package: EcoreGenException

EcoreGenException

nameinstructionbranchcomplexitylinemethod
EcoreGenException(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%
EcoreGenException(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) 2011-2014 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: * Edgar Mueller - initial API and implementation
13: ******************************************************************************/
14: package org.eclipse.emf.ecp.ecore.editor.util;
15:
16: /**
17: * Custom exception to indicate an error during the generation of a genmodel.
18: *
19: * @author emueller
20: *
21: */
22: @SuppressWarnings("serial")
23: public class EcoreGenException extends Exception {
24:
25:         /**
26:          * Constructor.
27:          *
28:          * @param msg
29:          * exception message
30:          */
31:         public EcoreGenException(String msg) {
32:                 super(msg);
33:         }
34:
35:         /**
36:          * Constructor with additional cause.
37:          *
38:          * @param msg
39:          * exception message
40:          * @param cause
41:          * the cause of the exception
42:          */
43:         public EcoreGenException(String msg, Throwable cause) {
44:                 super(msg, cause);
45:         }
46:
47: }