Package com.atlassian.adf.model.ex.node
Class NodeException.TypeMismatch
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.atlassian.adf.model.ex.AdfException
-
- com.atlassian.adf.model.ex.node.NodeException
-
- com.atlassian.adf.model.ex.node.NodeException.TypeMismatch
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- NodeException
public static class NodeException.TypeMismatch extends NodeException
Reports that thetypeof node used does not implement the class that is required in the givenparentTypenode'scontent. For example,tableCellnodes cannot containtextnodes directly (they must be wrapped inside of aparagraph), and this exception is thrown if a document tries to place one there.- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.atlassian.adf.model.ex.node.NodeException
NodeException.TypeMismatch
-
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(String parentType, Class<? extends Node> requiredClass, String type)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringparentType()Class<? extends Node>requiredClass()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
-
-