public class UploadSizeLimitExceededException
extends java.lang.Exception
Constructor and Description |
---|
UploadSizeLimitExceededException(long sizeLimit,
java.lang.String fileName)
Constructs a
UploadSizeLimitExceededException with permitted size. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFileName()
Return the name of the uploaded file when the execption occurs.
|
long |
getSizeLimit()
Returns the maximum permitted file upload size in bytes.
|
public UploadSizeLimitExceededException(long sizeLimit, java.lang.String fileName)
UploadSizeLimitExceededException
with permitted size.sizeLimit
- The maximum permitted file upload size in bytes.fileName
- The name of the uploaded file when the execption occurs.
Copyright (c) EclipseSource and others 2002, 2019.
All rights reserved. This program and the accompanying materials
are made available under the terms of the
Eclipse Public License v1.0