/** * Returns a string representing the specified result code in the * specified locale. * * @see <a href="../../../../api/com/novell/ldap/LDAPException.html#resultCodeToString(int, java.util.Locale)"> com.novell.ldap.LDAPException.resultCodeToString(int, Locale)</a> */ public static String resultCodeToString( int code, Locale locale ) { return com.novell.ldap.LDAPException.resultCodeToString( code, locale); }
public String getLocalizedMessage() { return resultCodeToString(); }
public String getMessage() { return resultCodeToString(); }
/** * Returns a string representing the result code in the * specified locale. * * @see <a href="../../../../api/com/novell/ldap/LDAPException.html#resultCodeToString(java.util.Locale)"> com.novell.ldap.LDAPException.resultCodeToString(Locale)</a> */ public String resultCodeToString( Locale locale ) { return exception.resultCodeToString( locale); }
/** * Returns a string representing the result code in the default * locale. * * @see <a href="../../../../api/com/novell/ldap/LDAPException.html#resultCodeToString()"> com.novell.ldap.LDAPException.resultCodeToString()</a> */ public String resultCodeToString() { return exception.resultCodeToString(); }
/** * Returns a string representing the specified result code in the default * locale. * * @see <a href="../../../../api/com/novell/ldap/LDAPException.html#resultCodeToString(int)"> com.novell.ldap.LDAPException.resultCodeToString(int)</a> */ public static String resultCodeToString( int code ) { return com.novell.ldap.LDAPException.resultCodeToString( code); }
super.getMessage(), new Integer(resultCode), resultCodeToString() }); msg = exception + ": (" + resultCode + ") " + resultCodeToString();
int result = response.getResultCode(); resultCode.setAttribute("code", result + ""); resultCode.setAttribute("descr", LDAPException.resultCodeToString(result));
throw new RuntimeException("getUsers(): LDAPException during search [eid = " + (userEdit == null ? null : userEdit.getEid()) + "][result code = " + e.resultCodeToString() + "][error message = " + e.getLDAPErrorMessage() + "]", e); } catch ( Exception e ) {
throw new RuntimeException( "authenticateUser(): LDAPException during authentication attempt [userLogin = " + userLogin + "][result code = " + e.resultCodeToString() + "][error message = " + e.getLDAPErrorMessage() + "]", e);
out.write(new Integer(result.getResultCode()).toString()); out.write("\" descr=\""); out.write(LDAPException.resultCodeToString(result.getResultCode())); out.write( "\" />");
throw new LDAPException(LDAPException.resultCodeToString(LDAPException.INVALID_CREDENTIALS),LDAPException.INVALID_CREDENTIALS,LDAPException.resultCodeToString(LDAPException.INVALID_CREDENTIALS)); } else { throw new LDAPException(LDAPException.resultCodeToString(LDAPException.UNAVAILABLE),LDAPException.UNAVAILABLE,post.getStatusText());
default: // Everything else ex = new LDAPException( LDAPException.resultCodeToString( getResultCode()), getResultCode(), getErrorMessage(), getMatchedDN()); break;
LDAPException.resultCodeToString(getResultCode()), getResultCode(), (String) null );