Package com.nimbusds.common.ldap
Enum Class LDAPConnectionException.CauseType
java.lang.Object
java.lang.Enum<LDAPConnectionException.CauseType>
com.nimbusds.common.ldap.LDAPConnectionException.CauseType
- All Implemented Interfaces:
Serializable
,Comparable<LDAPConnectionException.CauseType>
,java.lang.constant.Constable
- Enclosing class:
- LDAPConnectionException
public static enum LDAPConnectionException.CauseType
extends Enum<LDAPConnectionException.CauseType>
Enumeration of LDAP connection exception cause types.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionBad server X.509 certificate.LDAP connect timeout.TLS/SSL store error.General LDAP connection error.LDAP server down or incorrect port.Network I/O error.No route to server host.StartTLS error.TCP/IP protocol exception.TLS/SSL error.Unknown server host name. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static LDAPConnectionException.CauseType[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
LDAP_CONNECT_ERROR
General LDAP connection error. -
UNKNOWN_HOST
Unknown server host name. -
NO_ROUTE_TO_HOST
No route to server host. -
LDAP_SERVER_DOWN
LDAP server down or incorrect port. -
TCPIP_ERROR
TCP/IP protocol exception. -
KEYSTORE_ERROR
TLS/SSL store error. -
BAD_CERT
Bad server X.509 certificate. -
TLS_SSL_ERROR
TLS/SSL error. -
STARTTLS_ERROR
StartTLS error. -
CONNECT_TIMEOUT
LDAP connect timeout. -
NETWORK_IO_ERROR
Network I/O error.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-