ccc.api.exceptions
Class LockMismatchException

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

public class LockMismatchException
extends InvalidException

An exception used to indicate that a resource is locked by another user.

Author:
Civic Computing Ltd.
See Also:
Serialized Form

Field Summary
 
Fields inherited from class ccc.api.exceptions.InvalidException
RESOLUTION, RESOURCE
 
Fields inherited from class ccc.api.exceptions.CCException
MESSAGE
 
Constructor Summary
LockMismatchException()
          Constructor.
LockMismatchException(java.util.UUID resource)
          Constructor.
 
Method Summary
 
Methods inherited from class ccc.api.exceptions.InvalidException
getResource, setResolution
 
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

LockMismatchException

public LockMismatchException()
Constructor.


LockMismatchException

public LockMismatchException(java.util.UUID resource)
Constructor.

Parameters:
resource - The resource.


Copyright © 2010. All Rights Reserved.