|
![]() |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.nitido.directory.DirectoryException
public class DirectoryException
The DirectoryException class is the generic exception thrown by this library.
Constructor Summary | |
---|---|
DirectoryException(int errorCode,
java.lang.String msg,
java.lang.Throwable rootCause)
Constructor that takes in the error message and the original Throwable that causes this exception. |
|
DirectoryException(java.lang.String msg)
Constructor that takes in only |
|
DirectoryException(java.lang.String msg,
java.lang.Throwable rootCause)
Constructor that takes in the error message and the original Throwable that causes this exception. |
Method Summary | |
---|---|
int |
getErrorCode()
Return the error code for the exception. |
java.lang.String |
getMessage()
Return the detail message of this exception. |
java.lang.Throwable |
getRootCause()
Get the original Throwable that causes this exception. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final int OK
public static final int GENERIC
public static final int NO_SUCH_OBJECT
public static final int NO_SUCH_ATTRIBUTE
public static final int INVALID_CREDENTIALS
public static final int CONNECTION_PROBLEM
public static final int BAD_FILTER
public static final int ENTRY_ALREADY_EXISTS
public static final int LDAP_SUCCESS
public static final int LDAP_OPERATIONS_ERROR
public static final int LDAP_PROTOCOL_ERROR
public static final int LDAP_TIMELIMIT_EXCEEDED
public static final int LDAP_SIZELIMIT_EXCEEDED
public static final int LDAP_COMPARE_FALSE
public static final int LDAP_COMPARE_TRUE
public static final int LDAP_AUTH_METHOD_NOT_SUPPORTED
public static final int LDAP_STRONG_AUTH_REQUIRED
public static final int LDAP_REFERRAL
public static final int LDAP_ADMINLIMIT_EXCEEDED
public static final int LDAP_UNAVAILABLE_CRITICAL_EXTENSION
public static final int LDAP_CONFIDENTIALITY_REQUIRED
public static final int LDAP_SASL_BIND_IN_PROGRESS
public static final int LDAP_NO_SUCH_ATTRIBUTE
public static final int LDAP_UNDEFINED_ATTRIBUTE_TYPE
public static final int LDAP_INAPPROPRIATE_MATCHING
public static final int LDAP_CONSTRAINT_VIOLATION
public static final int LDAP_ATTRIBUTE_OR_VALUE_EXISTS
public static final int LDAP_INVALID_ATTRIBUTE_SYNTAX
public static final int LDAP_NO_SUCH_OBJECT
public static final int LDAP_ALIAS_PROBLEM
public static final int LDAP_INVALID_DN_SYNTAX
public static final int LDAP_ALIAS_DEREFERENCING_PROBLEM
public static final int LDAP_INAPPROPRIATE_AUTHENTICATION
public static final int LDAP_INVALID_CREDENTIALS
public static final int LDAP_INSUFFICIENT_ACCESS_RIGHTS
public static final int LDAP_BUSY
public static final int LDAP_UNAVAILABLE
public static final int LDAP_UNWILLING_TO_PERFORM
public static final int LDAP_LOOP_DETECT
public static final int LDAP_NAMING_VIOLATION
public static final int LDAP_OBJECT_CLASS_VIOLATION
public static final int LDAP_NOT_ALLOWED_ON_NON_LEAF
public static final int LDAP_NOT_ALLOWED_ON_RDN
public static final int LDAP_ENTRY_ALREADY_EXISTS
public static final int LDAP_OBJECT_CLASS_MODS_PROHIBITED
public static final int LDAP_AFFECTS_MULTIPLE_DSAS
public static final int LDAP_OTHER
public static final int LDAP_SERVER_DOWN
public static final int LDAP_TIMEOUT
public static final int LDAP_PARAM_ERROR
public static final int LDAP_CONNECT_ERROR
public static final int LDAP_NOT_SUPPORTED
public static final int LDAP_CONTROL_NOT_FOUND
public static final int LDAP_NO_RESULTS_RETURNED
public static final int LDAP_MORE_RESULTS_TO_RETURNED
public static final int LDAP_CLIENT_LOOP
public static final int LDAP_REFERRAL_LIMIT_EXCEEDED
public static final int LDAP_TLS_NOT_SUPPORTED
Constructor Detail |
---|
public DirectoryException(java.lang.String msg)
public DirectoryException(java.lang.String msg, java.lang.Throwable rootCause)
msg
- The error message.rootCause
- The original Throwable that cuases this exception.public DirectoryException(int errorCode, java.lang.String msg, java.lang.Throwable rootCause)
errorCode
- The error code for the exceptionmsg
- The error message.rootCause
- The original Throwable that cuases this exception.Method Detail |
---|
public java.lang.String getMessage()
If a root cause throwable exists, this method will append the root cause throwable's message at the end of the result.
getMessage
in class java.lang.Throwable
public int getErrorCode()
public java.lang.Throwable getRootCause()
public java.lang.String toString()
toString
in class java.lang.Throwable
|
Nitido NiM 2.5 Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 1999-2009 Nitido Inc. Proprietary and Confidential. All Rights Reserved.