Serializable
, Comparable<LDAPConnectionException.CauseType>
public static enum LDAPConnectionException.CauseType extends Enum<LDAPConnectionException.CauseType>
Enum Constant | Description |
---|---|
BAD_CERT |
Bad server X.509 certificate.
|
CONNECT_TIMEOUT |
LDAP connect timeout.
|
KEYSTORE_ERROR |
TLS/SSL store error.
|
LDAP_CONNECT_ERROR |
General LDAP connection error.
|
LDAP_SERVER_DOWN |
LDAP server down or incorrect port.
|
NETWORK_IO_ERROR |
Network I/O error.
|
NO_ROUTE_TO_HOST |
No route to server host.
|
STARTTLS_ERROR |
StartTLS error.
|
TCPIP_ERROR |
TCP/IP protocol exception.
|
TLS_SSL_ERROR |
TLS/SSL error.
|
UNKNOWN_HOST |
Unknown server host name.
|
Modifier and Type | Method | Description |
---|---|---|
static LDAPConnectionException.CauseType |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static LDAPConnectionException.CauseType[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LDAPConnectionException.CauseType LDAP_CONNECT_ERROR
public static final LDAPConnectionException.CauseType UNKNOWN_HOST
public static final LDAPConnectionException.CauseType NO_ROUTE_TO_HOST
public static final LDAPConnectionException.CauseType LDAP_SERVER_DOWN
public static final LDAPConnectionException.CauseType TCPIP_ERROR
public static final LDAPConnectionException.CauseType KEYSTORE_ERROR
public static final LDAPConnectionException.CauseType BAD_CERT
public static final LDAPConnectionException.CauseType TLS_SSL_ERROR
public static final LDAPConnectionException.CauseType STARTTLS_ERROR
public static final LDAPConnectionException.CauseType CONNECT_TIMEOUT
public static final LDAPConnectionException.CauseType NETWORK_IO_ERROR
public static LDAPConnectionException.CauseType[] values()
for (LDAPConnectionException.CauseType c : LDAPConnectionException.CauseType.values()) System.out.println(c);
public static LDAPConnectionException.CauseType 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 nullCopyright © 2018 Connect2id. All rights reserved.