|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.directory.InvalidAttributeValueException
org.apache.directory.shared.ldap.exception.LdapInvalidAttributeValueException
public class LdapInvalidAttributeValueException
Makes a InvalidAttributeValueException unambiguous with respect to the result code it corresponds to by associating an LDAP specific result code with it.
| Field Summary |
|---|
| Fields inherited from class javax.naming.NamingException |
|---|
remainingName, resolvedName, resolvedObj, rootException |
| Constructor Summary | |
|---|---|
LdapInvalidAttributeValueException(ResultCodeEnum resultCode)
Creates an Ldap InvalidAttributeValueException using a result code. |
|
LdapInvalidAttributeValueException(java.lang.String explanation,
ResultCodeEnum resultCode)
Creates an Ldap InvalidAttributeValueException using a result code and a specific message. |
|
| Method Summary | |
|---|---|
ResultCodeEnum |
getResultCode()
Gets the LDAP resultCode this exception is associated with. |
| Methods inherited from class javax.naming.NamingException |
|---|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LdapInvalidAttributeValueException(ResultCodeEnum resultCode)
resultCode - the LDAP resultCode this exception is associated with
java.lang.IllegalArgumentException - if the resultCode argument is not
ResultCodeEnum.CONSTRAINTVIOLATION, or
ResultCodeEnum.INVALIDATTRIBUTESYNTAX
public LdapInvalidAttributeValueException(java.lang.String explanation,
ResultCodeEnum resultCode)
explanation - an explanation for the failureresultCode - the LDAP resultCode this exception is associated with| Method Detail |
|---|
public ResultCodeEnum getResultCode()
getResultCode in interface LdapException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||