Package | Description |
---|---|
org.pageseeder.berlioz.util |
A collection of utility classes.
|
Modifier and Type | Method and Description |
---|---|
CollectedError.Level |
CollectedError.level()
The seriousness of the error.
|
static CollectedError.Level |
CollectedError.Level.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CollectedError.Level[] |
CollectedError.Level.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
ErrorCollector.collect(CollectedError.Level level,
T exception)
Collect an error reported by an underlying process such as a parser or a transformer.
|
void |
ErrorCollector.collectQuietly(CollectedError.Level level,
T exception)
Collect an error reported by an underlying process such as a parser or a transformer without
throwing any exception.
|
void |
ErrorCollector.setErrorFlag(CollectedError.Level threshold)
Set the threshold to set to rise the error flag.
|
void |
ErrorCollector.setException(CollectedError.Level threshold)
Set the threshold to throw an exception during the next collect operation.
|
Constructor and Description |
---|
CollectedError(CollectedError.Level level,
T error)
Creates a new collected error.
|
Copyright © 2016 Allette Systems. All rights reserved.