|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
| 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
com.octetstring.vde.util.DirectoryException
public class DirectoryException
Top-level Exception for Directory Operations
| Constructor Summary | |
|---|---|
DirectoryException()Build a general exception. |
|
DirectoryException(int code)Construct a directory exception based on an LDAP error code. |
|
DirectoryException(int code, java.lang.String message)Construct a directory exception based on LDAP error code and supplementary error text. |
|
DirectoryException(javax.naming.NamingException namingException) |
|
DirectoryException(java.lang.String message)Construct a directory exception based on string error alone |
|
| Method Summary | |
|---|---|
int |
getLDAPErrorCode() |
void |
setLDAPErrorCode(int code) |
| 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 DirectoryException()
public DirectoryException(javax.naming.NamingException namingException)
public DirectoryException(int code)
code - Is an integer representing the desired error code.
public DirectoryException(int code,
java.lang.String message)
code - Is an integer representing the LDAP error codemessage - additional String text explaining the error (returned to client)public DirectoryException(java.lang.String message)
message - a String representing the error condition.| Method Detail |
|---|
public int getLDAPErrorCode()
public void setLDAPErrorCode(int code)
code - integer representing the LDAP error number to be set
|
Oracle Virtual Directory Java API Reference 11g Release 1 (11.1.1) E10688-03 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||