2f2a116526f8a2150140da1ea029c3bd5087a720
[so.git] /
1 package org.onap.so.bpmn.servicedecomposition.tasks.exceptions;
2
3 public class DuplicateNameException extends Exception {
4
5     private static final long serialVersionUID = -2850043981787600326L;
6
7     public DuplicateNameException() {
8         super();
9     }
10
11     public DuplicateNameException(String message) {
12         super(message);
13     }
14
15     public DuplicateNameException(String objectType, String name) {
16         super(objectType + " with name " + name + " already exists. The name must be unique.");
17     }
18 }