Package com.caringo.client.request

Examples of com.caringo.client.request.InvalidPolicyException


     * @throws InvalidPolicyException
     *            If the custom attribute is <code>null</code>.
     */
    public boolean addCustomAttribute(String attribute) throws InvalidPolicyException {
        if (null == attribute) {
            throw new InvalidPolicyException("Cannot add a null custom attribute");
        }
       
        if (null == this.customAttributes) {
            this.customAttributes = new ArrayList<String>();
        }
View Full Code Here

TOP

Related Classes of com.caringo.client.request.InvalidPolicyException

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.