Package com.atlassian.jira.exception
Class AbstractCharacterLimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
com.atlassian.jira.exception.AbstractCharacterLimitExceededException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
CommentBodyCharacterLimitExceededException
,IssueFieldsCharacterLimitExceededException
Base class for jira character limit exceeded exceptions.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
Returns maximum number of characters allowed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
maxNumberOfCharacters
protected final long maxNumberOfCharacters
-
-
Constructor Details
-
AbstractCharacterLimitExceededException
@Internal public AbstractCharacterLimitExceededException(long maxNumberOfCharacters)
-
-
Method Details
-
getMaxNumberOfCharacters
public long getMaxNumberOfCharacters()Returns maximum number of characters allowed.- Returns:
- max number of characters, 0 means unlimited
-