Package org.mapfish.print.wrapper

Examples of org.mapfish.print.wrapper.ObjectMissingException


    public final PObject getObject(final int i) {
        @SuppressWarnings("unchecked")
        Map<String, Object> val = (Map<String, Object>) this.array.get(i);
        final String context = "[" + i + "]";
        if (val == null) {
            throw new ObjectMissingException(this, context);
        }
        return new PYamlObject(this, val, context);
    }
View Full Code Here


    public final PArray getArray(final int i) {
        @SuppressWarnings("unchecked")
        List<Object> val = (List<Object>) this.array.get(i);
        final String context = "[" + i + "]";
        if (val == null) {
            throw new ObjectMissingException(this, context);
        }
        return new PYamlArray(this, val, context);
    }
View Full Code Here

TOP

Related Classes of org.mapfish.print.wrapper.ObjectMissingException

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.