public enum IteratorErrorHandlerType extends Enum<IteratorErrorHandlerType>
| Enum Constant and Description |
|---|
IGNORE
error detected in hasNext will ignored
|
POSTPONE
error detected in hasNext will be re-thrown in next (hasNext will return
true)
|
THROW
error detected in hasNext will be simply thrown
|
| Modifier and Type | Method and Description |
|---|---|
static IteratorErrorHandlerType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IteratorErrorHandlerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IteratorErrorHandlerType POSTPONE
public static final IteratorErrorHandlerType THROW
public static final IteratorErrorHandlerType IGNORE
public static IteratorErrorHandlerType[] values()
for (IteratorErrorHandlerType c : IteratorErrorHandlerType.values()) System.out.println(c);
public static IteratorErrorHandlerType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2022 vpc open source initiative. All rights reserved.