All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.frameworkset.web.multipart.MaxUploadSizeExceededException Maven / Gradle / Ivy

Go to download

bboss is a j2ee framework include aop/ioc,mvc,persistent,taglib,rpc,event ,bean-xml serializable and so on.http://www.bbossgroups.com

There is a newer version: 6.2.7
Show newest version

package org.frameworkset.web.multipart;

/**
 * 
 * 

Title: MaxUploadSizeExceededException.java

*

Description:

*

bboss workgroup

*

Copyright (c) 2008-2010

* @Date 2010-10-2 * @author biaoping.yin * @version 1.0 */ public class MaxUploadSizeExceededException extends MultipartException { private final long maxUploadSize; /** * Constructor for MaxUploadSizeExceededException. * @param maxUploadSize the maximum upload size allowed */ public MaxUploadSizeExceededException(long maxUploadSize) { this(maxUploadSize, null); } /** * Constructor for MaxUploadSizeExceededException. * @param maxUploadSize the maximum upload size allowed * @param ex root cause from multipart parsing API in use */ public MaxUploadSizeExceededException(long maxUploadSize, Throwable ex) { super("Maximum upload size of " + maxUploadSize + " bytes exceeded", ex); this.maxUploadSize = maxUploadSize; } /** * Return the maximum upload size allowed. */ public long getMaxUploadSize() { return maxUploadSize; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy