/** * Creates a new instance of this {@code LDAPRuntimeException} using the * provided {@code LDAPException}. * * @param ldapException The {@code LDAPException} object wrapped by this * runtime exception. */ public LDAPRuntimeException(final LDAPException ldapException) { super(ldapException.getMessage(), ldapException.getCause()); this.ldapException = ldapException; }
/** * Creates a new instance of this {@code LDAPRuntimeException} using the * provided {@code LDAPException}. * * @param ldapException The {@code LDAPException} object wrapped by this * runtime exception. */ public LDAPRuntimeException(final LDAPException ldapException) { super(ldapException.getMessage(), ldapException.getCause()); this.ldapException = ldapException; }
Throwable cause = e.getCause();
/** * Creates a new LDAP exception using the information contained in the * provided LDAP exception. * * @param e The LDAP exception to use to create this exception. */ public LDAPException(final LDAPException e) { super(e.getMessage(), e.getCause()); resultCode = e.getResultCode(); matchedDN = e.getMatchedDN(); diagnosticMessage = e.getDiagnosticMessage(); referralURLs = e.getReferralURLs(); responseControls = e.getResponseControls(); }
/** * Creates a new LDAP exception using the information contained in the * provided LDAP exception. * * @param e The LDAP exception to use to create this exception. */ public LDAPException(final LDAPException e) { super(e.getMessage(), e.getCause()); resultCode = e.getResultCode(); matchedDN = e.getMatchedDN(); diagnosticMessage = e.getDiagnosticMessage(); referralURLs = e.getReferralURLs(); responseControls = e.getResponseControls(); }
Throwable cause = e.getCause();
final Throwable t = le.getCause(); if ((t != null) && (t instanceof SocketTimeoutException))
final Throwable t = le.getCause(); if ((t != null) && (t instanceof SocketTimeoutException))
final Throwable t = le.getCause();
final Throwable t = le.getCause();