Class ContentLockedByAnotherUserException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.craftercms.studio.api.v1.exception.ServiceLayerException
-
- org.craftercms.studio.api.v2.exception.content.ContentLockedByAnotherUserException
-
- All Implemented Interfaces:
Serializable
public class ContentLockedByAnotherUserException extends ServiceLayerException
Extension ofServiceLayerException
thrown when a user tries to lock an item that is already locked- Since:
- 4.0.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected String
lockOwner
The username of the user that owns the lock of the item-
Fields inherited from class org.craftercms.studio.api.v1.exception.ServiceLayerException
serialVersionUID
-
-
Constructor Summary
Constructors Constructor Description ContentLockedByAnotherUserException(String lockOwner)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getLockOwner()
String
toString()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-