List of usage examples for javax.naming OperationNotSupportedException OperationNotSupportedException
public OperationNotSupportedException(String explanation)
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"); }