|
Oracle Internet Directory API Reference 11g Release 1 (11.1.1) E10664-01 |
||||||||
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
public class UtilException
This is the superclass of all exceptions defined in oracle.ldap.util package
Field Summary | |
---|---|
protected java.lang.Exception |
e |
protected boolean |
hasLDAPErrorCode |
protected boolean |
hasPasswordPolicyError |
protected boolean |
isNamingException |
protected int |
ldapErrorCode |
protected javax.naming.NamingException |
ne |
protected int |
passwordPolicyErrorCode |
Constructor Summary | |
---|---|
protected |
UtilException() |
|
UtilException(java.lang.Exception e) |
protected |
UtilException(java.lang.String s) Constructor for UtilException allowing an error message to be specified |
protected |
UtilException(java.lang.String s, java.lang.Exception ine) |
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 |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int ldapErrorCode
protected int passwordPolicyErrorCode
protected java.lang.Exception e
protected boolean isNamingException
protected boolean hasPasswordPolicyError
protected boolean hasLDAPErrorCode
protected javax.naming.NamingException ne
Constructor Detail |
---|
protected UtilException()
protected UtilException(java.lang.String s)
s
- the error string to be storedpublic UtilException(java.lang.Exception e)
protected UtilException(java.lang.String s, java.lang.Exception ine)
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 11g Release 1 (11.1.1) E10664-01 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |