public void perform(TaskRequest req, TaskResponse res) {
		
		HttpServletResponse resp = (HttpServletResponse) response.evaluate(req, res);
		Integer sc = (Integer) statusCode.evaluate(req, res);
		String msg = (String) message.evaluate(req, res);
		
		try {

			resp.sendError(sc, msg);
		} catch (Throwable t) {
			throw new RuntimeException("Error setting status code " + sc + " with message " + msg, t);
		}
	}
public void perform ( TaskRequest req , TaskResponse res ) { HttpServletResponse resp = ( HttpServletResponse ) response . evaluate ( req , res ) ; Integer sc = ( Integer ) statusCode . evaluate ( req , res ) ; String msg = ( String ) message . evaluate ( req , res ) ; try { resp . sendError ( sc , msg ) ; } catch ( Throwable t ) { throw new RuntimeException ( "Error setting status code " + sc + " with message " + msg , t ) ; } }
{@inheritDoc }