Enum UpfProgrammableException.Type
- java.lang.Object
-
- java.lang.Enum<UpfProgrammableException.Type>
-
- org.onosproject.net.behaviour.upf.UpfProgrammableException.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<UpfProgrammableException.Type>
- Enclosing class:
- UpfProgrammableException
public static enum UpfProgrammableException.Type extends Enum<UpfProgrammableException.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description COUNTER_INDEX_OUT_OF_RANGE
A provided counter cell index was out of range.TABLE_EXHAUSTED
The target table is at capacity.UNKNOWN
The UpfProgrammable did not provide a specific exception type.UNSUPPORTED_OPERATION
The UpfProgrammable implementation doesn't support the operation.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static UpfProgrammableException.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static UpfProgrammableException.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final UpfProgrammableException.Type UNKNOWN
The UpfProgrammable did not provide a specific exception type.
-
TABLE_EXHAUSTED
public static final UpfProgrammableException.Type TABLE_EXHAUSTED
The target table is at capacity.
-
COUNTER_INDEX_OUT_OF_RANGE
public static final UpfProgrammableException.Type COUNTER_INDEX_OUT_OF_RANGE
A provided counter cell index was out of range.
-
UNSUPPORTED_OPERATION
public static final UpfProgrammableException.Type UNSUPPORTED_OPERATION
The UpfProgrammable implementation doesn't support the operation.
-
-
Method Detail
-
values
public static UpfProgrammableException.Type[] 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 (UpfProgrammableException.Type c : UpfProgrammableException.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static UpfProgrammableException.Type 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
-
-