com.atlassian.crowd.exception
public class UserNotFoundException extends ObjectNotFoundException
| Constructor and Description |
|---|
UserNotFoundException(String userName) |
UserNotFoundException(String userName,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
String |
getUserName()
Returns the name of the user that could not be found.
|
static void |
throwNotFoundByExternalId(String externalId)
Static factory to throw a UserNotFoundException when searching by externalId rather than username.
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic UserNotFoundException(String userName)
public String getUserName()
public static void throwNotFoundByExternalId(String externalId) throws UserNotFoundException
externalId - the external IdUserNotFoundException - alwaysCopyright © 2015 Atlassian. All Rights Reserved.