Package com.snowtide
Class InsufficientLicenseException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.snowtide.InsufficientLicenseException
-
- All Implemented Interfaces:
Serializable
public class InsufficientLicenseException extends RuntimeException
An exception of this type is thrown when either:- PDFxStream is operating without a license, and more PDF documents are opened than are permitted within an unlicensed state. (Currently, capped at 50 documents in the first hour of use, and 10 document in each hour afterwards.)
- A PDFxStream API call is made that depends upon a
feature
that is not enabled in thelicense file
registered with the library.
An example of the latter is: if the
registered license file
doesn't enable thePDF.Feature.Forms
feature,Document.getFormData()
will throw anInsufficientLicenseException
.You can use
PDF.hasFeature(com.snowtide.PDF.Feature)
to determine at runtime whether a particularfeature
is enabled.If you have not yet purchased PDFxStream license(s), but need to evaluate it without limitation, you may request a temporary evaluation license file from Snowtide Support.
- Version:
- ©2004-2024 Snowtide
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description InsufficientLicenseException(String msg)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
InsufficientLicenseException
public InsufficientLicenseException(String msg)
-
-