public class DuplicateNameException extends java.lang.Exception
|Constructor and Description|
Creates the exception, setting the name that was found to be duplicate as the exception message.
|Modifier and Type||Method and Description|
Gets the name that was found to be duplicate
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public DuplicateNameException(java.lang.String name)
name- setting the name that was found to be duplicate