Enum Class ErrorMode
- All Implemented Interfaces:
Serializable, Comparable<ErrorMode>, Constable
Indicates when an error from the any of the involved sources should be handled.
Usually appears with concat and concatMap operators where the outer and inner source(s)
may error out in the middle of streaming and the user would like to finish the current source before
cancelling the rest and signaling the error(s) to the consumers.
- Since:
- 4.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
IMMEDIATE
Report the error immediately, cancelling the active sources. -
BOUNDARY
Report error after an inner source terminated. -
END
Report the error after all sources terminated.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-