public static enum CloudEventRWException.CloudEventRWExceptionKind extends Enum<CloudEventRWException.CloudEventRWExceptionKind>
| Enum Constant and Description |
|---|
DATA_CONVERSION
Error while converting CloudEventData.
|
INVALID_ATTRIBUTE_NAME
The attribute name is not a valid/known context attribute.
|
INVALID_ATTRIBUTE_TYPE
The attribute/extension type is not valid.
|
INVALID_ATTRIBUTE_VALUE
The attribute/extension value is not valid.
|
INVALID_DATA_TYPE
The data type is not valid.
|
INVALID_EXTENSION_NAME
The extension name is not valid because it doesn't follow the naming convention enforced by the CloudEvents spec.
|
INVALID_SPEC_VERSION
Spec version string is not recognized by this particular SDK version.
|
OTHER
Other error.
|
UNKNOWN_ENCODING
Invalid content type or spec version
|
| Modifier and Type | Method and Description |
|---|---|
static CloudEventRWException.CloudEventRWExceptionKind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static CloudEventRWException.CloudEventRWExceptionKind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CloudEventRWException.CloudEventRWExceptionKind INVALID_SPEC_VERSION
public static final CloudEventRWException.CloudEventRWExceptionKind INVALID_ATTRIBUTE_NAME
public static final CloudEventRWException.CloudEventRWExceptionKind INVALID_EXTENSION_NAME
public static final CloudEventRWException.CloudEventRWExceptionKind INVALID_ATTRIBUTE_TYPE
public static final CloudEventRWException.CloudEventRWExceptionKind INVALID_ATTRIBUTE_VALUE
public static final CloudEventRWException.CloudEventRWExceptionKind INVALID_DATA_TYPE
public static final CloudEventRWException.CloudEventRWExceptionKind DATA_CONVERSION
public static final CloudEventRWException.CloudEventRWExceptionKind UNKNOWN_ENCODING
public static final CloudEventRWException.CloudEventRWExceptionKind OTHER
public static CloudEventRWException.CloudEventRWExceptionKind[] values()
for (CloudEventRWException.CloudEventRWExceptionKind c : CloudEventRWException.CloudEventRWExceptionKind.values()) System.out.println(c);
public static CloudEventRWException.CloudEventRWExceptionKind 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. All rights reserved.