opendap/src/main/java/opendap/dap/AttributeTable.java
public final void addContainer(String clearname, AttributeTable at) throws AttributeExistsException {

        // return null if name already exists
        if (_attr.get(clearname) != null) {
            throw new AttributeExistsException("The Attribute '" + clearname +
                    "' already exists in the container '" +
                    getEncodedName() + "'");
        }

        Attribute a = new Attribute(clearname, at);
        _attr.put(clearname, a);
    }
public final void addContainer(String clearname, AttributeTable at) throws AttributeExistsException {

        // return null if name already exists
        if (_attr.get(clearname) != null) {
            throw new AttributeExistsException("The Attribute '" + clearname +
                    "' already exists in the container '" +
                    getEncodedName() + "'");
        }

        Attribute a = new Attribute(clearname, at);
        _attr.put(clearname, a);
    }
public final void addContainer ( String clearname , AttributeTable at ) throws AttributeExistsException { // return null if name already exists
 if ( _attr . get ( clearname ) != null ) { throw new AttributeExistsException ( "The Attribute '" + clearname + "' already exists in the container '" + getEncodedName ( ) + "'" ) ; } Attribute a = new Attribute ( clearname , at ) ; _attr . put ( clearname , a ) ; }
Create and append an attribute container to the table.
A container is another <code>AttributeTable</code> object.

@param clearname the name of the container to add.
if a container by that name already exists.
Create and append an attribute container to the table . A container is another <code > AttributeTable< / code > object .