Package com.linecorp.armeria.common
Class ContentTooLargeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.linecorp.armeria.common.ContentTooLargeException
-
- All Implemented Interfaces:
Serializable
public final class ContentTooLargeException extends RuntimeException
ARuntimeException
raised when the length of request or response content exceeds its limit.- See Also:
- Serialized Form
-
-
Method Summary
Modifier and Type Method Description static ContentTooLargeException
get()
Returns aContentTooLargeException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
get
public static ContentTooLargeException get()
Returns aContentTooLargeException
which may be a singleton or a new instance, depending onFlags.verboseExceptionSampler()
's decision.
-
-