public enum InvalidUrlErrorReason extends Enum<InvalidUrlErrorReason>
Java class for InvalidUrlError.Reason.
The following schema fragment specifies the expected content contained within this class.
<simpleType name="InvalidUrlError.Reason">
<restriction base="{http://www.w3.org/2001/XMLSchema}string">
<enumeration value="ILLEGAL_CHARACTERS"/>
<enumeration value="INVALID_FORMAT"/>
<enumeration value="INSECURE_SCHEME"/>
<enumeration value="NO_SCHEME"/>
<enumeration value="UNKNOWN"/>
</restriction>
</simpleType>
| Enum Constant and Description |
|---|
ILLEGAL_CHARACTERS
The URL contains invalid characters.
|
INSECURE_SCHEME
URL contains insecure scheme.
|
INVALID_FORMAT
The format of the URL is not allowed.
|
NO_SCHEME
The URL does not contain a scheme.
|
UNKNOWN
The value returned if the actual value is not exposed by the requested API version.
|
| Modifier and Type | Method and Description |
|---|---|
static InvalidUrlErrorReason |
fromValue(String v) |
String |
value() |
static InvalidUrlErrorReason |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvalidUrlErrorReason[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvalidUrlErrorReason ILLEGAL_CHARACTERS
public static final InvalidUrlErrorReason INVALID_FORMAT
public static final InvalidUrlErrorReason INSECURE_SCHEME
public static final InvalidUrlErrorReason NO_SCHEME
public static final InvalidUrlErrorReason UNKNOWN
public static InvalidUrlErrorReason[] values()
for (InvalidUrlErrorReason c : InvalidUrlErrorReason.values()) System.out.println(c);
public static InvalidUrlErrorReason 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 InvalidUrlErrorReason fromValue(String v)
Copyright © 2018. All Rights Reserved.