Package org.eclipse.rap.fileupload
Class UploadTimeLimitExceededException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.eclipse.rap.fileupload.UploadTimeLimitExceededException
-
- All Implemented Interfaces:
java.io.Serializable
public class UploadTimeLimitExceededException extends java.lang.Exception
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UploadTimeLimitExceededException(long timeLimit, java.lang.String fileName)
Constructs aUploadTimeLimitExceededException
with permitted time.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Constructor Detail
-
UploadTimeLimitExceededException
public UploadTimeLimitExceededException(long timeLimit, java.lang.String fileName)
Constructs aUploadTimeLimitExceededException
with permitted time.- Parameters:
timeLimit
- The maximum permitted file upload duration in milliseconds.fileName
- The name of the uploaded file when the execption occurs.- Since:
- 3.3
-
-