Package com.stormpath.samples.todos.lang

Examples of com.stormpath.samples.todos.lang.OrderPreservingProperties


    private Map<String, RestError> exceptionMappings = Collections.emptyMap();

    public DefaultExceptionMapper() {
        //should be cleaner, but this is fine for a demo:
        InputStream is = ClassUtils.getResourceAsStream("restErrors.properties");
        OrderPreservingProperties props = new OrderPreservingProperties();
        props.load(is);
        this.exceptionMappings = toRestErrors(props);
    }
View Full Code Here

TOP

Related Classes of com.stormpath.samples.todos.lang.OrderPreservingProperties

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.