public enum ClientInfoStatus extends Enum<ClientInfoStatus>
Connection.setClientInfo
Enum Constant and Description |
---|
REASON_UNKNOWN
The client info property could not be set for some unknown reason
|
REASON_UNKNOWN_PROPERTY
The client info property name specified was not a recognized property
name.
|
REASON_VALUE_INVALID
The value specified for the client info property was not valid.
|
REASON_VALUE_TRUNCATED
The value specified for the client info property was too large.
|
Modifier and Type | Method and Description |
---|---|
static ClientInfoStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ClientInfoStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ClientInfoStatus REASON_UNKNOWN
public static final ClientInfoStatus REASON_UNKNOWN_PROPERTY
public static final ClientInfoStatus REASON_VALUE_INVALID
public static final ClientInfoStatus REASON_VALUE_TRUNCATED
public static ClientInfoStatus[] values()
for (ClientInfoStatus c : ClientInfoStatus.values()) System.out.println(c);
public static ClientInfoStatus 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 null Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2024, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.