|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.ldaptive.provider.ProviderUtils
public final class ProviderUtils
Provides utility methods for this package.
| Method Summary | |
|---|---|
static void |
throwOperationException(ResultCode[] operationRetryResultCodes,
Exception e,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception. |
static void |
throwOperationException(ResultCode[] operationRetryResultCodes,
String msg,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
Determines whether to throw operation exception or ldap exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void throwOperationException(ResultCode[] operationRetryResultCodes,
Exception e,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
throws LdapException
operationRetryResultCodes - to compare result code againste - provider exception to wrapresultCode - provider result codematchedDn - response matched dnrespControls - response controlsreferralUrls - response referral urlsthrowLdapException - throw an ldap exception if an operation
exception is not thrown
OperationException - if the operation should be retried
LdapException - to propagate the exception out
public static void throwOperationException(ResultCode[] operationRetryResultCodes,
String msg,
int resultCode,
String matchedDn,
ResponseControl[] respControls,
String[] referralUrls,
boolean throwLdapException)
throws LdapException
operationRetryResultCodes - to compare result code againstmsg - provider messageresultCode - provider result codematchedDn - response matched dnrespControls - response controlsreferralUrls - response referral urlsthrowLdapException - throw an ldap exception if an operation
exception is not thrown
OperationException - if the operation should be retried
LdapException - to propagate the exception out
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||