public void sendError(int errorCode, String message) throws IOException {
   detectErrorResponse(errorCode);
   super.sendError(errorCode, message);
 }
 @Override
 public void sendError(final int status) throws IOException {
   super.sendError(status);
   this.status = status;
 }
 public void sendError(int i) throws IOException {
   statusCode = i;
   super.sendError(i);
 }
 public void sendError(int i, String string) throws IOException {
   statusCode = i;
   super.sendError(i, string);
 }
 @Override
 public void sendError(int sc, String msg) throws IOException {
   super.sendError(sc, msg);
   statusCode = sc;
   message = msg;
 }
 @Override
 public void sendError(int sc) throws IOException {
   super.sendError(sc);
   statusCode = sc;
 }
 @Override
 public void sendError(int sc, String msg) throws IOException {
   httpStatus = sc;
   super.sendError(sc, msg);
 }
Exemple #8
0
 @Override
 public void sendError(final int sc, final String msg) throws IOException {
   status = sc;
   super.sendError(sc, msg);
 }
Exemple #9
0
 @Override
 public void sendError(final int sc) throws IOException {
   status = sc;
   super.sendError(sc);
 }
 public void sendError(int statusCode) throws IOException {
   super.sendError(statusCode);
   this.status = statusCode;
 }
 public void sendError(int statusCode, String statusMessage) throws IOException {
   super.sendError(statusCode, statusMessage);
   this.status = statusCode;
 }