Package com.atlassian.adf.model.ex.mark
Class MarkException
- 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
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
DataConsumerException,MarkException.ConstraintViolation,MarkException.TypeMismatch,MarkException.TypeUnsupported,TextColorException
public abstract class MarkException extends AdfException
Reports a problem with an ADF mark.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classMarkException.ConstraintViolationIndicates 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.static classMarkException.DuplicateMarkTypeIndicates that the caller has attempted to add two marks with the same value for thetypefield to the same node.static classMarkException.LimitReachedIndicates that the new mark cannot be added because there is a limit to how many marks the node is permitted to have and that limit has already been reached.static classMarkException.MarkDisallowedIndicates that the new mark cannot be added because its use has been restricted for some reason.static classMarkException.RestrictedMarkAlreadyPresentIndicates that a request to disable marks on a given node cannot proceed because the target node is already marked.static classMarkException.TypeMismatchIndicates that the given mark type does not satisfy the type system's contraints on what mark types are permitted here.static classMarkException.TypeUnsupportedIndicates that the given mark type does not satisfy the type system's contraints on what mark types are permitted here.-
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
-
-
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
-
-