Package org.apache.sis.util

Examples of org.apache.sis.util.NullArgumentException


     * @throws NullArgumentException if the key or the value is {@code null}.
     */
    @Override
    public V put(final K key, final V value) throws NullArgumentException {
        if (key == null || value == null) {
            throw new NullArgumentException(Errors.format(key == null
                    ? Errors.Keys.NullMapKey : Errors.Keys.NullMapValue));
        }
        return intern(key, value);
    }
View Full Code Here


                 * This case happen when a codeListValue attribute in a XML file is empty.
                 * See https://issues.apache.org/jira/browse/SIS-157
                 */
                return false;
            }
            throw new NullArgumentException(message);
        }
        int ordinal = element.ordinal();
        if (ordinal < Long.SIZE) {
            return values != (values |= (1L << ordinal));
        }
View Full Code Here

             * See https://issues.apache.org/jira/browse/SIS-139
             */
            return false;
        }
        if (element == null) {
            throw new NullArgumentException(message);
        } else {
            throw new IllegalArgumentException(message);
        }
    }
View Full Code Here

             * See https://issues.apache.org/jira/browse/SIS-139
             */
            return false;
        }
        if (element == null) {
            throw new NullArgumentException(message);
        } else {
            throw new IllegalArgumentException(message);
        }
    }
View Full Code Here

     * @throws NullArgumentException if the key or the value is {@code null}.
     */
    @Override
    public V put(final K key, final V value) throws NullArgumentException {
        if (key == null || value == null) {
            throw new NullArgumentException(Errors.format(key == null
                    ? Errors.Keys.NullMapKey : Errors.Keys.NullMapValue));
        }
        return intern(key, value);
    }
View Full Code Here

TOP

Related Classes of org.apache.sis.util.NullArgumentException

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.