public static final class Configuration.ErrorPolicy extends Enum
An enum containing error policies.
Modifier and Type | Field and Description |
---|---|
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.
|
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.
The default value is false
.
public static final Configuration.ErrorPolicy MISSING_RESOURCE
Whether an exception should be thrown when resources could not be loaded.
public static Configuration.ErrorPolicy[] values()
public static Configuration.ErrorPolicy valueOf(String name)
This doc was generated on 2020-09-17. Copyright © 2002-2020 RealObjects GmbH. All Rights Reserved.