Package com.atlassian.adf.model.ex.mark
Class MarkException.ConstraintViolation
- 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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
MarkException.DuplicateMarkType,MarkException.LimitReached,MarkException.MarkDisallowed,MarkException.RestrictedMarkAlreadyPresent
- Enclosing class:
- MarkException
public abstract static class MarkException.ConstraintViolation extends MarkException
Indicates that a mark which could not be excluded by the type system is nevertheless invalid in the given circumstances due to other constraints related to ADF or how the marked node has been used. For example, subtypes of this exception class are thrown for an attempt to use more than one mark with the sametypeon a single node, to use both formatted-text and code marks on a singletextnode, or to use any marks at all on atextnode inside of acodeBlock.- 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 ConstraintViolation(String message)
-
Method Summary
-
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
-
-
-
-
Constructor Detail
-
ConstraintViolation
public ConstraintViolation(String message)
-
-