public class SchemaViolationException extends NamingException
适用于NamingException的同步和序列化问题直接在这里应用。
Context.bind(javax.naming.Name, java.lang.Object)
,
DirContext.bind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)
,
Context.rebind(javax.naming.Name, java.lang.Object)
,
DirContext.rebind(javax.naming.Name, java.lang.Object, javax.naming.directory.Attributes)
,
DirContext.createSubcontext(javax.naming.Name, javax.naming.directory.Attributes)
,
Context.createSubcontext(javax.naming.Name)
,
DirContext.modifyAttributes(javax.naming.Name, int, javax.naming.directory.Attributes)
,
Serialized Form
remainingName, resolvedName, resolvedObj, rootException
Constructor and Description |
---|
SchemaViolationException()
构造一个新的SchemaViolationException实例。
|
SchemaViolationException(String explanation)
使用提供的说明构造一个新的SchemaViolationException实例。
|
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public SchemaViolationException()
public SchemaViolationException(String explanation)
explanation
- 关于这个例外的细节。
可以为null。
Throwable.getMessage()