- java.lang.Object
 -  
      
- java.lang.Throwable
 -  
        
- java.lang.Exception
 -  
          
- javax.naming.NamingException
 -  
            
- javax.naming.OperationNotSupportedException
 
 
 
 
 
-  
       
- 实现的所有接口
 -  
         
Serializable 
public class OperationNotSupportedException extends NamingException
当上下文实现不支持被调用的操作时,抛出此异常。 例如,如果服务器不支持Context.bind()方法,则在调用bind()方法时会抛出OperationNotSupportedException。适用于NamingException的同步和序列化问题直接适用于此处。
- 从以下版本开始:
 - 1.3
 - 另请参见:
 - Serialized Form
 
 
-  
        
       
-  
             
字段汇总
-  
               
声明的属性在类 javax.naming.NamingException
remainingName, resolvedName, resolvedObj, rootException 
 -  
               
 
-  
             
构造方法摘要
构造方法 构造器 描述 OperationNotSupportedException()构造一个OperationNotSupportedException的新实例。OperationNotSupportedException(String explanation)使用说明构造OperationNotSupportedException的新实例。 
-  
             
方法摘要
-  
               
声明方法的类 javax.naming.NamingException
appendRemainingComponent, appendRemainingName, getCause, getExplanation, getRemainingName, getResolvedName, getResolvedObj, getRootCause, initCause, setRemainingName, setResolvedName, setResolvedObj, setRootCause, toString, toString 
 -  
               
 
 -  
             
 
-  
        
       
-  
             
构造方法详细信息
-  
OperationNotSupportedException
public OperationNotSupportedException()
构造一个OperationNotSupportedException的新实例。 所有字段默认为null。 
-  
OperationNotSupportedException
public OperationNotSupportedException(String explanation)
使用说明构造OperationNotSupportedException的新实例。 所有其他字段默认为null。- 参数
 -  
              
explanation- 可能是关于此异常的其他详细信息 - 另请参见:
 -  
              
Throwable.getMessage() 
 
 -  
 
 -