public enum NotNullErrorReason extends Enum<NotNullErrorReason>
Java class for NotNullError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="NotNullError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ARG1_NULL"/>
<enumeration value="ARG2_NULL"/>
<enumeration value="ARG3_NULL"/>
<enumeration value="NULL"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ARG_1_NULL
Assuming that a method will not have more than 3 arguments, if it does,
return NULL
|
ARG_2_NULL |
ARG_3_NULL |
NULL |
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static NotNullErrorReason |
fromValue(String v) |
String |
value() |
static NotNullErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NotNullErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NotNullErrorReason ARG_1_NULL
public static final NotNullErrorReason ARG_2_NULL
public static final NotNullErrorReason ARG_3_NULL
public static final NotNullErrorReason NULL
public static final NotNullErrorReason UNKNOWN
public static NotNullErrorReason[] values()
for (NotNullErrorReason c : NotNullErrorReason.values()) System.out.println(c);
public static NotNullErrorReason 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 value()
public static NotNullErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.