org.gcube.contentmanagement.baselayer.exceptions
Class ObjectNotFoundException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.gcube.contentmanagement.baselayer.exceptions.BaseLayerException
              extended by org.gcube.contentmanagement.baselayer.exceptions.ValueNotValidException
                  extended by org.gcube.contentmanagement.baselayer.exceptions.ObjectNotFoundException
All Implemented Interfaces:
java.io.Serializable

public class ObjectNotFoundException
extends ValueNotValidException

Exception that indicates that an object has not been found. The ID that caused the problem is treated as invalid and therefore returned through the inherited methods.

Author:
michaelspringmann
See Also:
Serialized Form

Constructor Summary
ObjectNotFoundException(java.lang.String message, java.lang.String id)
          Constructor for a new exception
 
Method Summary
 
Methods inherited from class org.gcube.contentmanagement.baselayer.exceptions.ValueNotValidException
getInvalidValue, getInvalidValueName
 
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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ObjectNotFoundException

public ObjectNotFoundException(java.lang.String message,
                               java.lang.String id)
Constructor for a new exception

Parameters:
message - the message explaining the exception
id - the ID that wasn't found