Skip to content

Package: ViewMigrationException

ViewMigrationException

nameinstructionbranchcomplexitylinemethod
ViewMigrationException(Exception)
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%
ViewMigrationException(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%

Coverage

1: /*******************************************************************************
2: * Copyright (c) 2017 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.ide.internal.migration;
15:
16: /**
17: * Exception that might be thrown while migrating a view model file.
18: *
19: */
20: public class ViewMigrationException extends Exception {
21:
22:         private static final long serialVersionUID = -3818815268124260934L;
23:
24:         /**
25:          * Constructor.
26:          *
27:          * @param message the error message
28:          */
29:         public ViewMigrationException(String message) {
30:                 super(message);
31:         }
32:
33:         /**
34:          * Constructor that wraps the exception that caused the view migration to fail.
35:          *
36:          * @param exception the inner exception
37:          */
38:         public ViewMigrationException(Exception exception) {
39:                 super(exception);
40:         }
41: }