com.atlassian.crowd.directory.cache.exception
Class EntityNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.atlassian.crowd.directory.cache.exception.EntityNotFoundException
- All Implemented Interfaces:
- Serializable
public class EntityNotFoundException
- extends Exception
Used to indicate an Entity in cache is KNOWN to NOT exist
(as opposed to the state where the cache is not sure whether
the entity exists or not).
This is a replacement checked-exception for the previous
unchecked ObjectNotFoundException.
This exception is required to minimise legacy rework as
exceptions are heavily used in the DDC and LDAPDC implementations
to direct control flow. Yes, this is bad and someone with more
time can later fix this.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
EntityNotFoundException
public EntityNotFoundException()
EntityNotFoundException
public EntityNotFoundException(String message)
EntityNotFoundException
public EntityNotFoundException(String message,
Throwable cause)
EntityNotFoundException
public EntityNotFoundException(Throwable cause)
Copyright © 2012 Atlassian. All Rights Reserved.