com.atlassian.crowd.exception
Class DirectoryNotFoundException

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.DirectoryNotFoundException
All Implemented Interfaces:
Serializable

public class DirectoryNotFoundException
extends CrowdException

Thrown when a directory could not be found

See Also:
Serialized Form

Constructor Summary
DirectoryNotFoundException(Long id)
           
DirectoryNotFoundException(Long id, Throwable e)
           
DirectoryNotFoundException(String directoryName)
           
DirectoryNotFoundException(String directoryName, Throwable e)
           
DirectoryNotFoundException(Throwable e)
           
 
Method Summary
 String getDirectoryName()
          Returns the name of the directory that could not be found.
 Long getId()
          Returns the ID of the directory that could not be found.
 
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

DirectoryNotFoundException

public DirectoryNotFoundException(String directoryName)

DirectoryNotFoundException

public DirectoryNotFoundException(String directoryName,
                                  Throwable e)

DirectoryNotFoundException

public DirectoryNotFoundException(Long id)

DirectoryNotFoundException

public DirectoryNotFoundException(Long id,
                                  Throwable e)

DirectoryNotFoundException

public DirectoryNotFoundException(Throwable e)
Method Detail

getDirectoryName

public String getDirectoryName()
Returns the name of the directory that could not be found.

Returns:
name of the directory that could not be found

getId

public Long getId()
Returns the ID of the directory that could not be found.

Returns:
ID of the directory that could not be found


Copyright © 2014 Atlassian. All Rights Reserved.