com.atlassian.crowd.exception
Class AccountNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.atlassian.crowd.exception.CrowdException
              extended by com.atlassian.crowd.exception.FailedAuthenticationException
                  extended by com.atlassian.crowd.exception.AccountNotFoundException
All Implemented Interfaces:
Serializable

public class AccountNotFoundException
extends FailedAuthenticationException

Thrown when the account could not be found during an authentication attempt.

Since:
2.2.4
See Also:
Serialized Form

Constructor Summary
AccountNotFoundException(String name)
          Constructs a new AccountNotFoundException.
AccountNotFoundException(String name, Throwable e)
          Constructs a new AccountNotFoundException.
 
Method Summary
 String getName()
          Returns the name of the account.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AccountNotFoundException

public AccountNotFoundException(String name)
Constructs a new AccountNotFoundException.

Parameters:
name - name of the account

AccountNotFoundException

public AccountNotFoundException(String name,
                                Throwable e)
Constructs a new AccountNotFoundException.

Parameters:
name - name of the account
e - cause of the exception
Method Detail

getName

public String getName()
Returns the name of the account.

Returns:
name of the account


Copyright © 2016 Atlassian. All Rights Reserved.