public class PersonNotFoundException extends ObjectNotFoundException
Constructor and Description |
---|
PersonNotFoundException(Long id)
Instantiates a new 'person does not exist' exception.
|
PersonNotFoundException(String login)
Instantiates a new 'person does not exist' exception.
|
Modifier and Type | Method and Description |
---|---|
Long |
getId()
Returns id of the person
|
String |
getLogin()
Returns login of the person
|
getModelInstanceStates, setModelInstanceStates
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.