Package com.atlassian.adf.model.ex.mark
Class MarkException.RestrictedMarkAlreadyPresent
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.adf.model.ex.AdfException
-
- com.atlassian.adf.model.ex.mark.MarkException
-
- com.atlassian.adf.model.ex.mark.MarkException.ConstraintViolation
-
- com.atlassian.adf.model.ex.mark.MarkException.RestrictedMarkAlreadyPresent
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MarkException
public static class MarkException.RestrictedMarkAlreadyPresent extends MarkException.ConstraintViolation
Indicates that a request to disable marks on a given node cannot proceed because the target node is already marked. For example, within acodeBlocknode, thetextnodes it contains are not permitted to have any marks. This exception is thrown if the caller attempts to add atextnode with marks on it to acodeBlock, because thecodeBlockwill request thetextnode to disable marking, which it cannot do with marks already present on it.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.mark.MarkException
MarkException.ConstraintViolation, MarkException.DuplicateMarkType, MarkException.LimitReached, MarkException.MarkDisallowed, MarkException.RestrictedMarkAlreadyPresent, MarkException.TypeMismatch, MarkException.TypeUnsupported
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.AdfException
AdfException.DuplicateProperty, AdfException.EmptyProperty, AdfException.InvalidURI, AdfException.MissingProperty, AdfException.MissingType, AdfException.PropertyException, AdfException.UnexpectedRuntimeException, AdfException.UnsupportedEnumValue, AdfException.ValueTypeMismatch
-
-
Field Summary
-
Fields inherited from class com.atlassian.adf.model.ex.AdfException
MARK_PREFIX, MARKS_PREFIX, NODE_PREFIX
-
-
Constructor Summary
Constructors Constructor Description RestrictedMarkAlreadyPresent(String reason, Collection<String> markTypes)RestrictedMarkAlreadyPresent(String reason, Map<String,?> marks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>markTypes()Stringreason()-
Methods inherited from class com.atlassian.adf.model.ex.AdfException
backtrace, frame, getPath, toString
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
-