Skip to content

Commit

Permalink
STS-921 : override setStatus() methods in ErrorTrappingResponseWrappe…
Browse files Browse the repository at this point in the history
…r (backport from 1.5.x)
  • Loading branch information
vankeisb committed Jul 15, 2014
1 parent a0113f4 commit 00cfd60
Showing 1 changed file with 11 additions and 0 deletions.
Expand Up @@ -296,6 +296,17 @@ public void proceed() throws IOException {
super.sendError(errorCode, errorMessage);
}
}

@Override
public void setStatus(int sc) {
this.errorCode = sc;
}

@Override
public void setStatus(int sc, String sm) {
this.errorCode = sc;
this.errorMessage = sm;
}
}

/**
Expand Down

0 comments on commit 00cfd60

Please sign in to comment.