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() 

Source Link

Document

Constructs a new instance of OperationNotSupportedException.

Usage

From source file:de.sub.goobi.helper.ldap.LdapUser.java

@Override
public String getNameInNamespace() throws NamingException {
    throw new OperationNotSupportedException();
}

From source file:org.jbuilt.utils.ValueClosure.java

public Object execute(Object... args) {
    try {/*from   w ww. j  av a  2 s  .c  o  m*/
        throw new OperationNotSupportedException();
    } catch (OperationNotSupportedException e) {
        // TODO Auto-generated catch block
        e.printStackTrace();
    }
    // return null;
    return args;
}

From source file:org.olat.core.util.servlets.VFSDirContext.java

/**
 * Retrieves the schema associated with the named object. The schema describes rules regarding the structure of the namespace and the attributes stored within it. The
 * schema specifies what types of objects can be added to the directory and where they can be added; what mandatory and optional attributes an object can have. The
 * range of support for schemas is directory-specific.
 * /*from   www  .j a va  2  s  .co  m*/
 * @param name the name of the object whose schema is to be retrieved
 * @return the schema associated with the context; never null
 * @exception OperationNotSupportedException if schema not supported
 * @exception NamingException if a naming exception is encountered
 */
@Override
public DirContext getSchema(String name) throws NamingException {
    throw new OperationNotSupportedException();
}

From source file:org.olat.core.util.servlets.VFSDirContext.java

/**
 * Retrieves a context containing the schema objects of the named object's class definitions.
 * /*w ww  .  j  av a  2  s .  c  om*/
 * @param name the name of the object whose object class definition is to be retrieved
 * @return the DirContext containing the named object's class definitions; never null
 * @exception OperationNotSupportedException if schema not supported
 * @exception NamingException if a naming exception is encountered
 */
@Override
public DirContext getSchemaClassDefinition(String name) throws NamingException {
    throw new OperationNotSupportedException();
}