APIdia Launch Partner
Top Description Fields Constructors Methods
javax.naming

public Class OperationNotSupportedException

extends NamingException
Class Inheritance

This exception is thrown when a context implementation does not support the operation being invoked. For example, if a server does not support the Context.bind() method it would throw OperationNotSupportedException when the bind() method is invoked on it.

Synchronization and serialization issues that apply to NamingException apply directly here.

Authors
Rosanna Lee, Scott Seligman
Since
1.3

Field Summary

Modifier and TypeField and Description
private static final long
serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability
Inherited from javax.naming.NamingException:
remainingNameresolvedNameresolvedObjrootException

Constructor Summary

AccessConstructor and Description
public
OperationNotSupportedException()

Constructs a new instance of OperationNotSupportedException.

public
OperationNotSupportedException(String
Possibly null additional detail about this exception
explanation
)

Constructs a new instance of OperationNotSupportedException using an explanation.

Method Summary

Inherited from javax.naming.NamingException:
appendRemainingComponentappendRemainingNamegetCausegetExplanationgetRemainingNamegetResolvedNamegetResolvedObjgetRootCauseinitCausesetRemainingNamesetResolvedNamesetResolvedObjsetRootCausetoStringtoString

Field Detail

serialVersionUIDback to summary
private static final long serialVersionUID

Hides javax.naming.NamingException.serialVersionUID.

Use serialVersionUID from JNDI 1.1.1 for interoperability

Constructor Detail

OperationNotSupportedExceptionback to summary
public OperationNotSupportedException()

Constructs a new instance of OperationNotSupportedException. All fields default to null.

OperationNotSupportedExceptionback to summary
public OperationNotSupportedException(String explanation)

Constructs a new instance of OperationNotSupportedException using an explanation. All other fields default to null.

Parameters
explanation:String

Possibly null additional detail about this exception

See Also
java.lang.Throwable#getMessage