Package org.apache.druid.query
Class TruncatedResponseContextException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.druid.query.TruncatedResponseContextException
-
- All Implemented Interfaces:
Serializable
public class TruncatedResponseContextException extends RuntimeException
This exception is thrown whenResponseContext
is truncated after serialization in historicals or realtime tasks. The serialized response context can be truncated if its size is larger thanQueryResource#RESPONSE_CTX_HEADER_LEN_LIMIT
. SeeResponseContext.serializeWith(com.fasterxml.jackson.databind.ObjectMapper, int)
andResponseContextConfig#shouldFailOnTruncatedResponseContext
.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TruncatedResponseContextException(String message, Object... arguments)
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-