Skip to content

Package: ECPProjectWithNameExistsException

ECPProjectWithNameExistsException

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

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 - contributed inner class
13: * Maximilian Koegel - extracted to own class
14: ******************************************************************************/
15: package org.eclipse.emf.ecp.core.exceptions;
16:
17: /**
18: * This exception is thrown when we try to add a project with a name that already exists.
19: *
20: * @author Eugen Neufeld
21: * @noextend This class is not intended to be subclassed by clients.
22: * @noinstantiate This class is not intended to be instantiated by clients.
23: *
24: */
25: public class ECPProjectWithNameExistsException extends Exception {
26:
27:         private static final long serialVersionUID = 2896166396540238251L;
28:
29:         /**
30:          * Convenient Constructor for this Exception.
31:          *
32:          * @param message the message of this exception
33:          */
34:
35:         public ECPProjectWithNameExistsException(String message) {
36:                 super(message);
37:         }
38: }