|
|
@@ -6,13 +6,17 @@ package com.jfinal.upload;
|
|
|
* com.oreilly.servlet.multipart.MultipartParser 中会抛出以下异常
|
|
|
* throw new ExceededSizeException("Posted content length of " + length + " exceeds limit of " + maxSize);
|
|
|
*/
|
|
|
-public class ExceededSizeException extends RuntimeException {
|
|
|
+public class ExceededSizeException extends com.oreilly.servlet.multipart.ExceededSizeException {
|
|
|
|
|
|
private static final long serialVersionUID = -3493615798872340918L;
|
|
|
|
|
|
- ExceededSizeException(Throwable t) {
|
|
|
+ public ExceededSizeException(Throwable t) {
|
|
|
super(t);
|
|
|
}
|
|
|
+
|
|
|
+ public ExceededSizeException(String s) {
|
|
|
+ super(s);
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
|