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