Example usage for javax.naming OperationNotSupportedException OperationNotSupportedException

List of usage examples for javax.naming OperationNotSupportedException OperationNotSupportedException

Introduction

In this page you can find the example usage for javax.naming OperationNotSupportedException OperationNotSupportedException.

Prototype

public OperationNotSupportedException(String explanation) 

Source Link

Document

Constructs a new instance of OperationNotSupportedException using an explanation.

Usage

From source file:ReadOnlyContext.java

public Object addToEnvironment(String propName, Object propVal) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public void bind(String name, Object obj) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public void bind(Name name, Object obj) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public Context createSubcontext(String name) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public Context createSubcontext(Name name) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public void destroySubcontext(String name) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public void destroySubcontext(Name name) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public Object removeFromEnvironment(String propName) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public void rebind(String name, Object obj) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}

From source file:ReadOnlyContext.java

public void rebind(Name name, Object obj) throws NamingException {
    throw new OperationNotSupportedException("This is a read-only Context");
}