|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.opends.server.types.OpenDsException
org.opends.server.types.IdentifiedException
org.opends.server.types.DirectoryException
@PublicAPI(stability=UNCOMMITTED, mayInstantiate=true, mayExtend=false, mayInvoke=true) public final class DirectoryException
This class defines an exception that may be thrown if a problem occurs in the Directory Server.
Constructor Summary | |
---|---|
DirectoryException(ResultCode resultCode,
Message errorMessage)
Creates a new directory exception with the provided information. |
|
DirectoryException(ResultCode resultCode,
Message errorMessage,
DN matchedDN,
java.util.List<java.lang.String> referralURLs,
java.lang.Throwable cause)
Creates a new directory exception with the provided information. |
|
DirectoryException(ResultCode resultCode,
Message errorMessage,
DN matchedDN,
java.lang.Throwable cause)
Creates a new directory exception with the provided information. |
|
DirectoryException(ResultCode resultCode,
Message errorMessage,
java.lang.Throwable cause)
Creates a new directory exception with the provided information. |
|
DirectoryException(ResultCode resultCode,
OpenDsException cause)
Creates a new directory exception with the provided information. |
Method Summary | |
---|---|
DN |
getMatchedDN()
Retrieves the matched DN for this directory exception. |
java.util.List<java.lang.String> |
getReferralURLs()
Retrieves the set of referral URLs for this directory exception. |
ResultCode |
getResultCode()
Retrieves the result code for this directory exception. |
Methods inherited from class org.opends.server.types.OpenDsException |
---|
getMessageObject |
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 |
Constructor Detail |
---|
public DirectoryException(ResultCode resultCode, Message errorMessage)
resultCode
- The result code for this directory
exception.errorMessage
- The error message for this directory
exception.public DirectoryException(ResultCode resultCode, Message errorMessage, java.lang.Throwable cause)
resultCode
- The result code for this directory
exception.errorMessage
- The error message for this directory
exception.cause
- The exception that was caught to trigger
this directory exception.public DirectoryException(ResultCode resultCode, OpenDsException cause)
resultCode
- The result code for this directory
exception.cause
- The exception that was caught to trigger
this directory exception. The message of
this exception will be set to that of this
parameter.public DirectoryException(ResultCode resultCode, Message errorMessage, DN matchedDN, java.lang.Throwable cause)
resultCode
- The result code for this directory
exception.errorMessage
- The error message for this directory
exception.matchedDN
- The matched DN for this directory
exception.cause
- The exception that was caught to trigger
this directory exception.public DirectoryException(ResultCode resultCode, Message errorMessage, DN matchedDN, java.util.List<java.lang.String> referralURLs, java.lang.Throwable cause)
resultCode
- The result code for this directory
exception.errorMessage
- The error message for this directorymatchedDN
- The matched DN for this directory
exception.referralURLs
- The set of referral URLs for this
directory exception.cause
- The exception that was caught to trigger
this directory exception.Method Detail |
---|
public ResultCode getResultCode()
public DN getMatchedDN()
null
if there is none.public java.util.List<java.lang.String> getReferralURLs()
null
if there are none.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |