public class PersonNotFoundException extends ObjectNotFoundException
Constructor and Description |
---|
PersonNotFoundException(java.lang.Long id)
Instantiates a new 'person does not exist' exception.
|
PersonNotFoundException(java.lang.String login)
Instantiates a new 'person does not exist' exception.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Long |
getId()
Returns id of the person
|
java.lang.String |
getLogin()
Returns login of the person
|
getModelInstanceStates, setModelInstanceStates
public PersonNotFoundException(java.lang.Long id)
id
- public PersonNotFoundException(java.lang.String login)
login
- Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.