java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.directory.SchemaViolationException
- 所有已实现的接口:
Serializable
当某个方法以某种方式违反模式时,将抛出此异常。违反模式的一个示例是修改违反对象模式定义的对象的属性。另一个示例是将对象重命名或移动到违反命名空间模式定义的命名空间的一部分。
适用于 NamingException 的同步和序列化问题直接适用于此处。
- 自从:
- 1.3
- 参见:
-
字段摘要
在类 javax.naming.NamingException 中声明的字段
remainingName, resolvedName, resolvedObj, rootException -
构造方法总结
构造方法构造方法描述构造 SchemaViolationException 的新实例。SchemaViolationException(String explanation) 使用提供的解释构造 SchemaViolationException 的新实例。 -
方法总结
在类 javax.naming.NamingException 中声明的方法
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString在类 java.lang.Throwable 中声明的方法
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
构造方法详细信息
-
SchemaViolationException
public SchemaViolationException()构造 SchemaViolationException 的新实例。所有字段都设置为空。 -
SchemaViolationException
使用提供的解释构造 SchemaViolationException 的新实例。所有其他字段都设置为空。- 参数:
explanation- 有关此异常的详细信息。可以为空。- 参见:
-