Package org.ametys.cms.workflow
Class EditContentAccessDeniedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.ametys.runtime.authentication.AccessDeniedException
org.ametys.cms.workflow.EditContentAccessDeniedException
- All Implemented Interfaces:
Serializable
Exception representing an error while editing a content.
- See Also:
-
Constructor Summary
ConstructorDescriptionEditContentAccessDeniedException
(Content content, ModelItem modelItem) Constructs a newEditContentAccessDeniedException
. -
Method Summary
Modifier and TypeMethodDescriptionGet the content which the exception appears on.Get the model item which the exception appears on.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EditContentAccessDeniedException
Constructs a newEditContentAccessDeniedException
. Message is automatically built.- Parameters:
content
- the content on which the exception occursmodelItem
- the model item on which the exception occurs
-
-
Method Details
-
getContent
Get the content which the exception appears on.- Returns:
- the content
-
getModelItem
Get the model item which the exception appears on.- Returns:
- the model item
-