Package com.snowtide

Class InsufficientLicenseException

  • All Implemented Interfaces:
    Serializable

    public class InsufficientLicenseException
    extends RuntimeException
    An exception of this type is thrown when either:
    1. 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.)
    2. A PDFxStream API call is made that depends upon a feature that is not enabled in the license file registered with the library.

    An example of the latter is: if the registered license file doesn't enable the PDF.Feature.Forms feature, Document.getFormData() will throw an InsufficientLicenseException.

    You can use PDF.hasFeature(com.snowtide.PDF.Feature) to determine at runtime whether a particular feature 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 Detail

      • InsufficientLicenseException

        public InsufficientLicenseException​(String msg)