Class DataBufferLimitException
- java.lang.Object
- java.lang.Throwable
- java.lang.Exception
- java.lang.RuntimeException
- java.lang.IllegalStateException
- org.springframework.core.io.buffer.DataBufferLimitException
- All Implemented Interfaces:
Serializable
public class DataBufferLimitException extends IllegalStateException
Exception that indicates the cumulative number of bytes consumed from a stream ofDataBuffer
's exceeded some pre-configured limit. This can be raised when data buffers are cached and aggregated, e.g.DataBufferUtils.join(org.reactivestreams.Publisher<? extends org.springframework.core.io.buffer.DataBuffer>)
. Or it could also be raised when data buffers have been released but a parsed representation is being aggregated, e.g. async parsing with Jackson, SSE parsing and aggregating lines per event.- Since:
- 5.1.11
- Author:
- Rossen Stoyanchev
- See Also:
- Serialized Form
Constructor Summary
Constructors Constructor Description DataBufferLimitException(String message)
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Constructor Detail
DataBufferLimitException
public DataBufferLimitException(String message)