com.oreilly.servlet.multipart.ExceededSizeException Maven / Gradle / Ivy
The newest version!
// Copyright (C) 2007 by Jason Hunter .
// All rights reserved. Use of this class is limited.
// Please see the LICENSE for more information.
package com.oreilly.servlet.multipart;
/**
* Thrown to indicate an upload exceeded the maximum size.
*
* @see com.oreilly.servlet.multipart.MultipartParser
*
* @author <b>Jason Hunter</b>, Copyright © 2007
* @version 1.0, 2007/04/11
*/
public class ExceededSizeException extends RuntimeException {
/**
* Constructs a new ExceededSizeException with no detail message.
*/
public ExceededSizeException() {
super();
}
/**
* Constructs a new ExceededSizeException with the specified
* detail message.
*
* @param s the detail message
*/
public ExceededSizeException(String s) {
super(s);
}
/**
* 便于 jfinal 中的同名类 com.jfinal.upload.ExceededSizeException 继承
* 让用户代码中的 try catch 同时支持两种 ExceededSizeException 类型
*/
public ExceededSizeException(Throwable t) {
super(t);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy