* @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);
}