ccc.api.exceptions
Class ResourceExistsException

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.ConflictException
                      extended by ccc.api.exceptions.ResourceExistsException
All Implemented Interfaces:
java.io.Serializable

public class ResourceExistsException
extends ConflictException

Indicates a resource cannot be created because an existing resource already has the same absolute path.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ccc.api.exceptions.ConflictException
RES_ID, RES_NAME
 
Fields inherited from class ccc.api.exceptions.CCException
MESSAGE
 
Constructor Summary
ResourceExistsException()
          Constructor.
ResourceExistsException(java.util.UUID resourceId, ResourceName resourceName)
          Constructor.
 
Method Summary
 
Methods inherited from class ccc.api.exceptions.ConflictException
getResourceId, getResourceName
 
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

ResourceExistsException

public ResourceExistsException()
Constructor.


ResourceExistsException

public ResourceExistsException(java.util.UUID resourceId,
                               ResourceName resourceName)
Constructor.

Parameters:
resourceId - The ID of the existing resource.
resourceName - The name of the existing resource.


Copyright © 2010. All Rights Reserved.