java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.verapdf.exceptions.VeraPDFParserException
org.verapdf.exceptions.ResourceLimitExceededException
- All Implemented Interfaces:
Serializable
Thrown when parsing is aborted because a configured resource limit is exceeded, as opposed to the
input being malformed. It is a subclass of
VeraPDFParserException, so existing callers that
catch the parser exception keep working unchanged; a caller that needs to tell a deliberate
resource-limit abort (for example the caps set through SeekableInputStream.setMaxStreamSize
or COSDocument.setMaxNumberOfObjects) apart from a genuine parse error can catch this type
instead of matching on the message text.- Author:
- veraPDF Consortium
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionResourceLimitExceededException(String message) ResourceLimitExceededException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ResourceLimitExceededException
public ResourceLimitExceededException() -
ResourceLimitExceededException
-
ResourceLimitExceededException
-
ResourceLimitExceededException
-