Package com.atlassian.adf.model.ex.mark
Class MarkException.MarkDisallowed
- 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.MarkDisallowed
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MarkException
public static class MarkException.MarkDisallowed extends MarkException.ConstraintViolation
Indicates that the new mark cannot be added because its use has been restricted for some reason. As an example, a text node that has acodemark cannot also use a formatted-text mark likestrong.- 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 MarkDisallowed(String reason, Mark mark)MarkDisallowed(String reason, String markType)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringmarkType()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
-
-