Package com.oorian

Class OorianFileUploadException

All Implemented Interfaces:
Serializable

public class OorianFileUploadException extends RuntimeException
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 Details

    • OorianFileUploadException

      public OorianFileUploadException(Throwable cause)
      Constructs a new OorianFileUploadException with the specified cause.

      The cause is typically a ServletException or IOException that provides detailed information about the upload failure.

      Parameters:
      cause - the underlying cause of the upload failure