Package org.eclipse.rap.fileupload
Class UploadTimeLimitExceededException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.rap.fileupload.UploadTimeLimitExceededException
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorDescriptionUploadTimeLimitExceededException
(long timeLimit, String fileName) Constructs aUploadTimeLimitExceededException
with permitted time. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the uploaded file when the execption occurs.long
Returns the maximum permitted file upload duration in milliseconds.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UploadTimeLimitExceededException
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
-
-
Method Details
-
getTimeLimit
public long getTimeLimit()Returns the maximum permitted file upload duration in milliseconds. -
getFileName
Returns the name of the uploaded file when the execption occurs.
-