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