Package org.rest.common.web.exception

Examples of org.rest.common.web.exception.MyForbiddenException


     * @throws MyForbiddenException
     *             if expression is false, means operation not allowed.
     */
    public static void checkAllowed(final boolean expression) {
        if (!expression) {
            throw new MyForbiddenException();
        }
    }
View Full Code Here

TOP

Related Classes of org.rest.common.web.exception.MyForbiddenException

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.