ClientInfoStatus

  • ClientInfoStatus is an enumeration in Java that provides reasons why a client information property could not be set using Connection.setClientInfo.

  • This enum includes four possible status values: REASON_UNKNOWN, REASON_UNKNOWN_PROPERTY, REASON_VALUE_INVALID, and REASON_VALUE_TRUNCATED, indicating different causes for property setting failures.

  • It inherits methods from java.lang.Enum, java.lang.Object, and java.lang.Comparable for object comparison and manipulation.

  • Each status value provides specific information about why the client information property could not be set, aiding in debugging and error handling.

public final enum ClientInfoStatus extends Enum<ClientInfoStatus>

Enumeration for status of the reason that a property could not be set via a call to Connection.setClientInfo

Inherited Method Summary

Enum Values

public static final ClientInfoStatus REASON_UNKNOWN

The client info property could not be set for some unknown reason

public static final ClientInfoStatus REASON_UNKNOWN_PROPERTY

The client info property name specified was not a recognized property name.

public static final ClientInfoStatus REASON_VALUE_INVALID

The value specified for the client info property was not valid.

public static final ClientInfoStatus REASON_VALUE_TRUNCATED

The value specified for the client info property was too large.