Add Javadoc to MockHttpServletResponse#getErrorMessage
Closes gh-31386
This commit is contained in:
parent
655b4aacb7
commit
b2757d9a21
|
@ -780,6 +780,9 @@ public class MockHttpServletResponse implements HttpServletResponse {
|
||||||
return this.status;
|
return this.status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return the error message used when calling {@link HttpServletResponse#sendError(int, String)}.
|
||||||
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
public String getErrorMessage() {
|
public String getErrorMessage() {
|
||||||
return this.errorMessage;
|
return this.errorMessage;
|
||||||
|
|
Loading…
Reference in New Issue