java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.naming.NamingException
javax.naming.OperationNotSupportedException
- 所有已实现的接口:
Serializable
当上下文实现不支持被调用的操作时抛出此异常。例如,如果服务不支持 Context.bind() 方法,则在对其调用 bind() 方法时会抛出 OperationNotSupportedException。
适用于 NamingException 的同步和序列化问题直接适用于此处。
- 自从:
- 1.3
- 参见:
-
字段摘要
在类 javax.naming.NamingException 中声明的字段
remainingName, resolvedName, resolvedObj, rootException -
构造方法总结
构造方法构造方法描述构造 OperationNotSupportedException 的新实例。OperationNotSupportedException(String explanation) 使用说明构造 OperationNotSupportedException 的新实例。 -
方法总结
在类 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
-
构造方法详细信息
-
OperationNotSupportedException
public OperationNotSupportedException()构造 OperationNotSupportedException 的新实例。所有字段默认为空。 -
OperationNotSupportedException
使用说明构造 OperationNotSupportedException 的新实例。所有其他字段默认为空。- 参数:
explanation- 关于此异常的额外详细信息可能为空- 参见:
-