code: @Override
  	public void handleError(final Throwable error) throws IOException {
  		if (getTargetComponentId() != null || isDataRequest()) {
  			getResponse().sendError(500, "Internal Error");
  		} else {
  			super.handleError(error);
  		}
  	}
docs: {@inheritDoc}