public class LdapSchemaException extends LdapException
LdapException
which is used to report issues
during the integrity check of the schema by the SchemaManager.Constructor and Description |
---|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public LdapSchemaException()
public LdapSchemaException(LdapSchemaExceptionCodes code)
code
- The code of the exceptionpublic LdapSchemaException(String explanation)
explanation
- The message associated with the exceptionpublic LdapSchemaException(LdapSchemaExceptionCodes code, String explanation)
code
- The code of the exceptionexplanation
- The message associated with the exceptionpublic LdapSchemaException(LdapSchemaExceptionCodes code, Throwable cause)
code
- The code of the exceptioncause
- The root cause for this exceptionpublic LdapSchemaException(LdapSchemaExceptionCodes code, String explanation, 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 String getRelatedId()
public void setRelatedId(String relatedId)
relatedId
- the related ID (name or OID)Copyright © 2003–2020 The Apache Software Foundation. All rights reserved.