📄 contentlengthexceededexception.java
字号:
package jaction.upload;
import java.io.IOException;
/**
* This exception is thrown when multipart post data exceeds the value
* given by the Content-Length header
*/
public class ContentLengthExceededException extends IOException {
protected String message;
public ContentLengthExceededException() {
message = "The Content-Length has been exceeded for this request";
}
public ContentLengthExceededException(long contentLength) {
message = "The Content-Length of " + contentLength + " bytes has been " +
"exceeded";
}
public String getMessage() {
return message;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -