public class DuplicateNameException
extends java.lang.Exception
Constructor and Description |
---|
DuplicateNameException(java.lang.String name)
Creates the exception, setting the name that was found to be duplicate as the exception message.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getName()
Gets the name that was found to be duplicate
|