com.atlassian.crowd.exception
Class ObjectNotFoundException

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
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ApplicationNotFoundException, GroupNotFoundException, MembershipNotFoundException, UserNotFoundException, WebhookNotFoundException

public class ObjectNotFoundException
extends CrowdException

Thrown when an entity is not found.

See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException()
           
ObjectNotFoundException(Class entityClass, Object identifier)
           
ObjectNotFoundException(String message)
          Constructs a new exception with the specified detail message.
ObjectNotFoundException(String message, Throwable cause)
          Constructs a new exception with the specified detail message and cause.
ObjectNotFoundException(Throwable throwable)
          Default constructor.
 
Method Summary
 
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

ObjectNotFoundException

public ObjectNotFoundException()

ObjectNotFoundException

public ObjectNotFoundException(Class entityClass,
                               Object identifier)

ObjectNotFoundException

public ObjectNotFoundException(String message)
Constructs a new exception with the specified detail message.

Parameters:
message - the detail message

ObjectNotFoundException

public ObjectNotFoundException(String message,
                               Throwable cause)
Constructs a new exception with the specified detail message and cause.

Parameters:
message - the detail message
cause - the cause

ObjectNotFoundException

public ObjectNotFoundException(Throwable throwable)
Default constructor.

Parameters:
throwable - The Exception.


Copyright © 2013 Atlassian. All Rights Reserved.