public enum ContentDirectoryErrorCode extends Enum<ContentDirectoryErrorCode>
Enum Constant and Description |
---|
CANNOT_PROCESS |
NO_SUCH_OBJECT |
UNSUPPORTED_SORT_CRITERIA |
Modifier and Type | Method and Description |
---|---|
static ContentDirectoryErrorCode |
getByCode(int code) |
int |
getCode() |
String |
getDescription() |
static ContentDirectoryErrorCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentDirectoryErrorCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentDirectoryErrorCode NO_SUCH_OBJECT
public static final ContentDirectoryErrorCode UNSUPPORTED_SORT_CRITERIA
public static final ContentDirectoryErrorCode CANNOT_PROCESS
public static ContentDirectoryErrorCode[] values()
for (ContentDirectoryErrorCode c : ContentDirectoryErrorCode.values()) System.out.println(c);
public static ContentDirectoryErrorCode 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 int getCode()
public String getDescription()
public static ContentDirectoryErrorCode getByCode(int code)
Copyright © 2016 4th Line GmbH, Switzerland. All rights reserved.