Package com.atlassian.adf.model.ex.mark
Class MarkException.TypeMismatch
- 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.TypeMismatch
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MarkException
public static class MarkException.TypeMismatch extends MarkException
Indicates that the given mark type does not satisfy the type system's contraints on what mark types are permitted here. For example, if the ADF specified astrongmark on aparagraphnode. While suitable for placing ontextnodes within the paragraph, the paragraph itself only supports position marks, likealignmentorindentation.- 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 TypeMismatch(Class<? extends Mark> expectedMarkClass, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Class<? extends Mark>expectedMarkClass()Stringtype()-
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
-
-