Package com.atlassian.adf.model.ex.mark
Class MarkException.LimitReached
- 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.LimitReached
-
- All Implemented Interfaces:
Serializable
- Enclosing class:
- MarkException
public static class MarkException.LimitReached extends MarkException.ConstraintViolation
Indicates 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.- 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 LimitReached(int limit, Collection<String> markTypes)LimitReached(int limit, Map<String,?> marks)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intlimit()List<String>markTypes()-
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
-
LimitReached
public LimitReached(int limit, Collection<String> markTypes)
-
-