| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.NamingSecurityException
public abstract class NamingSecurityException
此异常是 Context 和 DirContext 接口中的操作所抛出的与安全有关的异常的超类。失败的特性由子类的名称描述。
如果程序想要单独处理此异常,它应该在试图捕获 NamingException 之前显式捕获 NamingSecurityException。例如,想要处理与安全有关的异常(特别是其他种类的命名异常)的程序可能会这样做。
应用于 NamingException 的同步和序列化问题在这里可以直接应用。
| 字段摘要 | 
|---|
| 从类 javax.naming.NamingException 继承的字段 | 
|---|
| remainingName, resolvedName, resolvedObj, rootException | 
| 构造方法摘要 | |
|---|---|
| NamingSecurityException()构造一个新的 NamingSecurityException 实例。 | |
| NamingSecurityException(String explanation)使用所提供的解释构造一个新的 NamingSecurityException 实例。 | |
| 方法摘要 | 
|---|
| 从类 java.lang.Throwable 继承的方法 | 
|---|
| fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace | 
| 从类 java.lang.Object 继承的方法 | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| 构造方法详细信息 | 
|---|
public NamingSecurityException(String explanation)
explanation - 有关此异常的附加详细信息(可能为 null)。Throwable.getMessage()public NamingSecurityException()
| 
 | JavaTM Platform Standard Ed. 6 | |||||||||
| 上一个类 下一个类 | 框架 无框架 | |||||||||
| 摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 | |||||||||
版权所有 2007 Sun Microsystems, Inc. 保留所有权利。 请遵守许可证条款。另请参阅文档重新分发政策。