Package com.blacklocus.webapp.base

Examples of com.blacklocus.webapp.base.BaseWebApplicationException


     * @param condition which if failed will trigger a 400 exception
     * @param failureMessage detailing the fault
     * @throws WebApplicationException if the condition fails
     */
    public static void $400(boolean condition, String failureMessage) throws WebApplicationException {
        if (!condition) throw new BaseWebApplicationException(Response.Status.BAD_REQUEST, failureMessage);
    }
View Full Code Here

TOP

Related Classes of com.blacklocus.webapp.base.BaseWebApplicationException

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.