|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
java.lang.Throwable
java.lang.Exception
oracle.ldap.util.UtilException
This is the superclass of all exceptions defined in oracle.ldap.util package
| Constructor Summary | |
UtilException(java.lang.Exception e) |
|
| Method Summary | |
int |
getLDAPErrorCode()Returns the LDAP error code from the exception if it is available |
static int |
getLDAPErrorCode(javax.naming.NamingException ne)A static method to allow the parsing of the error string in the NamingException to extract the LDAP error code. |
int |
getPasswordPolicyErrorCode()Returns the password policy error code from the exception if it is available |
boolean |
hasLDAPErrorCode()Returns true if the error string contains an LDAP error code. |
boolean |
hasPasswordPolicyError()Returns true if the LDAP error code indictates a password policy error. |
boolean |
isNamingException()Determines if the exception stored is a NamingException. |
javax.naming.NamingException |
returnNamingException() |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public UtilException(java.lang.Exception e)
| Method Detail |
public javax.naming.NamingException returnNamingException()
public boolean isNamingException()
public boolean hasPasswordPolicyError()
UtilException is not a NamingException or if it is unable to retrieve the LDAP error code from the error string, -1 is returned.public boolean hasLDAPErrorCode()
UtilException is not a NamingException or if it is unable to retrieve the LDAP error code from the error string, -1 is returned.public int getLDAPErrorCode()
public int getPasswordPolicyErrorCode()
public static int getLDAPErrorCode(javax.naming.NamingException ne)
ne - a NamingException
|
Oracle Internet Directory API Reference 10g(10.1.2) B14083-02 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||