ccc.api.exceptions
Class EntityNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ccc.api.exceptions.CCException
                  extended by ccc.api.exceptions.EntityNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class EntityNotFoundException
extends CCException

Exception indicating that the look up of an entity failed.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ccc.api.exceptions.CCException
MESSAGE
 
Constructor Summary
EntityNotFoundException()
          Constructor.
EntityNotFoundException(java.util.UUID entity)
          Constructor.
 
Method Summary
 java.util.UUID getId()
          Accessor.
 
Methods inherited from class ccc.api.exceptions.CCException
addParam, getFailure, getMessage, getParam, setId, setParams
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, 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

EntityNotFoundException

public EntityNotFoundException()
Constructor.


EntityNotFoundException

public EntityNotFoundException(java.util.UUID entity)
Constructor.

Parameters:
entity - The entity's id.
Method Detail

getId

public java.util.UUID getId()
Accessor.

Returns:
Returns the id.


Copyright © 2010. All Rights Reserved.