|
||||||||||
| 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.apache.directory.api.ldap.model.exception.LdapException
org.apache.directory.api.ldap.model.exception.LdapSchemaException
public class LdapSchemaException
A subclass of LdapException which is used to report issues
during the integrity check of the schema by the SchemaManager.
| Constructor Summary | |
|---|---|
LdapSchemaException()
Creates a new instance of LdapSchemaException. |
|
LdapSchemaException(LdapSchemaExceptionCodes code)
Creates a new instance of LdapSchemaException. |
|
LdapSchemaException(LdapSchemaExceptionCodes code,
String explanation)
Creates a new instance of LdapSchemaException. |
|
LdapSchemaException(LdapSchemaExceptionCodes code,
String explanation,
Throwable cause)
Creates a new instance of LdapSchemaException. |
|
LdapSchemaException(LdapSchemaExceptionCodes code,
Throwable cause)
|
|
LdapSchemaException(String explanation)
Creates a new instance of LdapSchemaException. |
|
| Method Summary | |
|---|---|
LdapSchemaExceptionCodes |
getCode()
Gets the code of the exception. |
SchemaObject |
getOtherObject()
Gets the 'other' schema object. |
String |
getRelatedId()
Gets the related ID (name or OID) of the exception. |
SchemaObject |
getSourceObject()
Gets the 'source' schema object. |
void |
setCode(LdapSchemaExceptionCodes code)
Sets the code of the exception. |
void |
setOtherObject(SchemaObject other)
Sets the 'other' schema object. |
void |
setRelatedId(String relatedId)
Sets the related ID (name or OID) of the exception. |
void |
setSourceObject(SchemaObject source)
Sets the 'source' schema object. |
| 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 LdapSchemaException()
public LdapSchemaException(LdapSchemaExceptionCodes code)
code - The code of the exceptionpublic LdapSchemaException(String explanation)
explanation - The message associated with the exception
public LdapSchemaException(LdapSchemaExceptionCodes code,
String explanation)
code - The code of the exceptionexplanation - The message associated with the exception
public LdapSchemaException(LdapSchemaExceptionCodes code,
Throwable cause)
code - The code of the exceptioncause - The root cause for this exception
public LdapSchemaException(LdapSchemaExceptionCodes code,
String explanation,
Throwable cause)
code - The code of the exceptionexplanation - The message associated with the exceptioncause - The root cause for this exception| Method Detail |
|---|
public LdapSchemaExceptionCodes getCode()
public void setCode(LdapSchemaExceptionCodes code)
code - the code of the exceptionpublic SchemaObject getSourceObject()
public void setSourceObject(SchemaObject source)
source - the 'source' schema objectpublic SchemaObject getOtherObject()
public void setOtherObject(SchemaObject other)
other - the 'other' schema objectpublic String getRelatedId()
public void setRelatedId(String relatedId)
relatedId - the related ID (name or OID)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||