public static final class Configuration.ErrorPolicy extends Enum
An enum containing error policies.
Modifier and Type | Field and Description |
---|---|
static Configuration.ErrorPolicy |
CONFORMANCE_VALIDATION_UNAVAILABLE
Whether an exception should be thrown when the PDF's conformance was not validated
even though
Configuration.setValidateConformance(Boolean) was enabled. |
static Configuration.ErrorPolicy |
LICENSE
Whether an exception should be thrown when no legal full license key is set.
|
static Configuration.ErrorPolicy |
MISSING_RESOURCE
Whether an exception should be thrown when resources could not be loaded.
|
static Configuration.ErrorPolicy |
UNCAUGHT_JAVASCRIPT_EXCEPTION
Whether an exception should be thrown when there are uncaught exceptions
in the input document JavaScript, including syntax error.
|
Modifier and Type | Method and Description |
---|---|
static Configuration.ErrorPolicy |
valueOf(String name) |
static Configuration.ErrorPolicy[] |
values() |
public static final Configuration.ErrorPolicy LICENSE
Whether an exception should be thrown when no legal full license key is set. This allows to programmatically ensure that documents are not altered due to license issues.
public static final Configuration.ErrorPolicy MISSING_RESOURCE
Whether an exception should be thrown when resources could not be loaded.
public static final Configuration.ErrorPolicy UNCAUGHT_JAVASCRIPT_EXCEPTION
Whether an exception should be thrown when there are uncaught exceptions in the input document JavaScript, including syntax error.
public static final Configuration.ErrorPolicy CONFORMANCE_VALIDATION_UNAVAILABLE
Whether an exception should be thrown when the PDF's conformance was not validated
even though Configuration.setValidateConformance(Boolean)
was enabled.
Now exceptions will be thrown if the validation module is not available or the conformance format is
not fully supported for validation.
Use this policy only if you exclusively convert documents where validation is supported and strictly required.
public static Configuration.ErrorPolicy[] values()
public static Configuration.ErrorPolicy valueOf(String name)
This doc was generated on 2023-09-21. Copyright © 2002-2023 RealObjects GmbH. All Rights Reserved.