public class ItemAlreadyExistsException extends InvalidDataException
Modifier and Type | Field and Description |
---|---|
private static long |
serialVersionUID |
Constructor and Description |
---|
ItemAlreadyExistsException(java.lang.String what)
Creates a new
ItemAlreadyExistsException . |
private static final long serialVersionUID
public ItemAlreadyExistsException(java.lang.String what)
ItemAlreadyExistsException
. The error
message produced will look like:
Item already exists: User[Login=peter]
what
- A description of what already exists, for
example User[Login=peter]