Skip to content

Commit

Permalink
Revert "Remove ErrorData constructor deprecation"
Browse files Browse the repository at this point in the history
This reverts commit e9851cc.
  • Loading branch information
pnicolucci authored and markt-asf committed Nov 8, 2023
1 parent e9851cc commit c94786e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions api/src/main/java/jakarta/servlet/jsp/ErrorData.java
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,10 @@ public final class ErrorData {
* @param statusCode The status code of the error
* @param uri The request URI
* @param servletName The name of the servlet invoked
*
* @deprecated Use {@link ErrorData#ErrorData(Throwable, int, String, String, String)}
*/
@Deprecated(since = "4.0", forRemoval = true)
public ErrorData(Throwable throwable, int statusCode, String uri, String servletName) {
this(throwable, statusCode, uri, servletName, null);
}
Expand Down

0 comments on commit c94786e

Please sign in to comment.