Package org.apache.stratum.jcs.access.exception

Examples of org.apache.stratum.jcs.access.exception.ObjectExistsException


    public void putSafe( Serializable key, Serializable val )
        throws IOException, ObjectExistsException
    {
        if ( this.get( key ) != null )
        {
            throw new ObjectExistsException( "Object exists for key " + key );
        }
        else
        {
            put( key, val, ( IElementAttributes ) this.attr.copy() );
        }
View Full Code Here

TOP

Related Classes of org.apache.stratum.jcs.access.exception.ObjectExistsException

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.