public static enum MetadataException.MetadataExceptionType extends Enum<MetadataException.MetadataExceptionType>
Enum Constant and Description |
---|
ABSENT_SCHEMA |
FALLBACK_EXCEPTION |
INCOMPLETE_METADATA |
INCONSISTENT_METADATA |
OUTDATED_METADATA |
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
static MetadataException.MetadataExceptionType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MetadataException.MetadataExceptionType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MetadataException.MetadataExceptionType OUTDATED_METADATA
public static final MetadataException.MetadataExceptionType INCONSISTENT_METADATA
public static final MetadataException.MetadataExceptionType INCOMPLETE_METADATA
public static final MetadataException.MetadataExceptionType ABSENT_SCHEMA
public static final MetadataException.MetadataExceptionType FALLBACK_EXCEPTION
public static MetadataException.MetadataExceptionType[] values()
for (MetadataException.MetadataExceptionType c : MetadataException.MetadataExceptionType.values()) System.out.println(c);
public static MetadataException.MetadataExceptionType 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 nullpublic String getMessage()
Copyright © 1970 The Apache Software Foundation. All rights reserved.