Package com.oorian
Class OorianFileUploadException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.oorian.OorianFileUploadException
- All Implemented Interfaces:
Serializable
Unchecked exception thrown when a file upload operation fails.
This exception is thrown by OorianFileUploadHandler when it encounters
errors during multipart request parsing or file processing. It wraps the underlying
servlet exception to provide a consistent exception hierarchy
for the Oorian framework.
Common Causes:
- Malformed multipart/form-data content
- File size exceeds configured limits
- I/O errors reading request content
- Invalid content encoding
- Temporary storage errors
Usage:
try {
// File upload processing
} catch (ServletException | IOException ex) {
OorianLog.warning("Upload failed: " + ex.getMessage());
throw new OorianFileUploadException(ex);
}
- Since:
- 2021
- Version:
- 1.0
- Author:
- Marvin P. Warble Jr.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs a new OorianFileUploadException with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
OorianFileUploadException
Constructs a new OorianFileUploadException with the specified cause.The cause is typically a
ServletExceptionorIOExceptionthat provides detailed information about the upload failure.- Parameters:
cause- the underlying cause of the upload failure
-