Class MaxRequestSizeFilter.RequestTooLargeException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.tika.server.core.MaxRequestSizeFilter.RequestTooLargeException
All Implemented Interfaces:
Serializable
Enclosing class:
MaxRequestSizeFilter

public static final class MaxRequestSizeFilter.RequestTooLargeException extends RuntimeException
Unchecked so it crosses whatever read path consumes the entity stream; MaxRequestSizeFilter.RequestTooLargeExceptionMapper turns it into the same 413 the declared-Content-Length rejection produces. A plain IOException here surfaced as an empty 500 on chunked uploads.
See Also: