public class LdapSchemaException extends LdapException
LdapException which is used to report issues
during the integrity check of the schema by the SchemaManager.| Modifier and Type | Field and Description |
|---|---|
private LdapSchemaExceptionCodes |
code
The code of the exception
|
private SchemaObject |
otherObject
The 'other' schema object
|
private java.lang.String |
relatedId
The related ID (name or OID) of the exception
|
(package private) static long |
serialVersionUID
The serial version UUID
|
private SchemaObject |
sourceObject
The 'source' schema object
|
| Constructor and Description |
|---|
LdapSchemaException()
Creates a new instance of LdapSchemaException.
|
LdapSchemaException(LdapSchemaExceptionCodes code)
Creates a new instance of LdapSchemaException.
|
LdapSchemaException(LdapSchemaExceptionCodes code,
java.lang.String explanation)
Creates a new instance of LdapSchemaException.
|
LdapSchemaException(LdapSchemaExceptionCodes code,
java.lang.String explanation,
java.lang.Throwable cause)
Creates a new instance of LdapSchemaException.
|
LdapSchemaException(LdapSchemaExceptionCodes code,
java.lang.Throwable cause) |
LdapSchemaException(java.lang.String explanation)
Creates a new instance of LdapSchemaException.
|
| Modifier and Type | Method and Description |
|---|---|
LdapSchemaExceptionCodes |
getCode()
Gets the code of the exception.
|
SchemaObject |
getOtherObject()
Gets the 'other' schema object.
|
java.lang.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(java.lang.String relatedId)
Sets the related ID (name or OID) of the exception.
|
void |
setSourceObject(SchemaObject source)
Sets the 'source' schema object.
|
static final long serialVersionUID
private LdapSchemaExceptionCodes code
private SchemaObject sourceObject
private SchemaObject otherObject
private java.lang.String relatedId
public LdapSchemaException()
public LdapSchemaException(LdapSchemaExceptionCodes code)
code - The code of the exceptionpublic LdapSchemaException(java.lang.String explanation)
explanation - The message associated with the exceptionpublic LdapSchemaException(LdapSchemaExceptionCodes code, java.lang.String explanation)
code - The code of the exceptionexplanation - The message associated with the exceptionpublic LdapSchemaException(LdapSchemaExceptionCodes code, java.lang.Throwable cause)
code - The code of the exceptioncause - The root cause for this exceptionpublic LdapSchemaException(LdapSchemaExceptionCodes code, java.lang.String explanation, java.lang.Throwable cause)
code - The code of the exceptionexplanation - The message associated with the exceptioncause - The root cause for this exceptionpublic 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 java.lang.String getRelatedId()
public void setRelatedId(java.lang.String relatedId)
relatedId - the related ID (name or OID)