Package org.apache.jcs.access.exception

Examples of org.apache.jcs.access.exception.InvalidArgumentException


    public void put( Object key, Object val, IElementAttributes attr )
        throws CacheException
    {
        if ( key == null )
        {
            throw new InvalidArgumentException( "Key must not be null" );
        }
        else if ( val == null )
        {
            throw new InvalidArgumentException( "Value must not be null" );
        }

        // Create the element and update. This may throw an IOException which
        // should be wrapped by cache access.
        try
View Full Code Here

TOP

Related Classes of org.apache.jcs.access.exception.InvalidArgumentException

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.