Package io.aeron.exceptions
Enum Class AeronException.Category
- All Implemented Interfaces:
Serializable,Comparable<AeronException.Category>,Constable
- Enclosing class:
- AeronException
Category of
Exception.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic AeronException.CategoryReturns the enum constant of this class with the specified name.static AeronException.Category[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
FATAL
Exception indicates a fatal condition. Recommendation is to terminate process immediately to avoid state corruption. -
ERROR
Exception is an error. Corrective action is recommended if understood, otherwise treat as fatal. -
WARN
Exception is a warning. Action has been, or will be, taken to handle the condition. Additional corrective action by the application may be needed.
-
-
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
-