com.atlassian.crowd.exception
Class ApplicationNotFoundException

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.ObjectNotFoundException
                  extended by com.atlassian.crowd.exception.ApplicationNotFoundException
All Implemented Interfaces:
Serializable

public class ApplicationNotFoundException
extends ObjectNotFoundException

Thrown when an application is not found.

See Also:
Serialized Form

Constructor Summary
ApplicationNotFoundException(Long id)
          Constructs a new application not found exception with an application id.
ApplicationNotFoundException(Long id, Throwable e)
          Constructs a new application not found exception with an application id and cause.
ApplicationNotFoundException(String applicationName)
          Constructs a new application not found exception with an application name.
ApplicationNotFoundException(String applicationName, Throwable e)
          Constructs a new application not found exception with an application name and cause.
 
Method Summary
 String getApplicationName()
           
 Long getId()
           
 
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

ApplicationNotFoundException

public ApplicationNotFoundException(String applicationName)
Constructs a new application not found exception with an application name.

Parameters:
applicationName - Name of the application.

ApplicationNotFoundException

public ApplicationNotFoundException(String applicationName,
                                    Throwable e)
Constructs a new application not found exception with an application name and cause.

Parameters:
applicationName - Name of the application.
e - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)

ApplicationNotFoundException

public ApplicationNotFoundException(Long id)
Constructs a new application not found exception with an application id.

Parameters:
id - Id of the application.

ApplicationNotFoundException

public ApplicationNotFoundException(Long id,
                                    Throwable e)
Constructs a new application not found exception with an application id and cause.

Parameters:
id - Id of the application.
e - the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.)
Method Detail

getApplicationName

public String getApplicationName()

getId

public Long getId()


Copyright © 2013 Atlassian. All Rights Reserved.