Enum SubscriberExceptionHandler.Action
- java.lang.Object
-
- java.lang.Enum<SubscriberExceptionHandler.Action>
-
- com.oracle.coherence.spring.messaging.SubscriberExceptionHandler.Action
-
- All Implemented Interfaces:
Serializable
,Comparable<SubscriberExceptionHandler.Action>
- Enclosing interface:
- SubscriberExceptionHandler
public static enum SubscriberExceptionHandler.Action extends Enum<SubscriberExceptionHandler.Action>
An enumeration of possible actions to take after handling an exception.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SubscriberExceptionHandler.Action
valueOf(String name)
Returns the enum constant of this type with the specified name.static SubscriberExceptionHandler.Action[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
Continue
public static final SubscriberExceptionHandler.Action Continue
Continue to receive further messages.
-
Stop
public static final SubscriberExceptionHandler.Action Stop
Close the subscriber and stop receiving messages.
-
-
Method Detail
-
values
public static SubscriberExceptionHandler.Action[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SubscriberExceptionHandler.Action c : SubscriberExceptionHandler.Action.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SubscriberExceptionHandler.Action valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-