Uses of Class
org.apache.druid.error.DruidException
Packages that use DruidException
Package
Description
-
Uses of DruidException in org.apache.druid.common.exception
Methods in org.apache.druid.common.exception with parameters of type DruidExceptionModifier and TypeMethodDescriptionErrorResponseTransformStrategy.maybeTransform(DruidException exception, Optional<String> errorId) For a givenDruidExceptionapply the transformation strategy and return a sanitized Exception if the transformation stategy was applied.PersonaBasedErrorTransformStrategy.maybeTransform(DruidException druidException, Optional<String> optionalErrorId) Transforms theDruidExceptionif required. -
Uses of DruidException in org.apache.druid.error
Methods in org.apache.druid.error that return DruidExceptionModifier and TypeMethodDescriptionstatic DruidExceptionBuild a "defensive" exception, this is an exception that should never actually be triggered, but we are throwing it inside a defensive check.static DruidExceptionBuild a "defensive" exception, this is an exception that should never actually be triggered, but we are throwing it inside a defensive check.static DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionForbidden.exception()static DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionstatic DruidExceptionDruidException.fromFailure(DruidException.Failure failure) Builds a DruidException using the provided Failure class.ErrorResponse.getUnderlyingException()protected DruidExceptionBaseFailure.makeException(DruidException.DruidExceptionBuilder bob) protected abstract DruidExceptionDruidException.Failure.makeException(DruidException.DruidExceptionBuilder bob) InvalidSqlInput.makeException(DruidException.DruidExceptionBuilder bob) protected DruidExceptionNotYetImplemented.makeException(DruidException.DruidExceptionBuilder bob) protected DruidExceptionQueryExceptionCompat.makeException(DruidException.DruidExceptionBuilder bob) DruidException.prependAndBuild(String msg, Object... args) Builds a new DruidException with a message that is the result of prepending the message passed as a parameter with the message already on the DruidException.DruidException.withContext(String key, Object value) DruidException.withContext(Map<String, String> values) Constructors in org.apache.druid.error with parameters of type DruidException -
Uses of DruidException in org.apache.druid.frame.segment
Fields in org.apache.druid.frame.segment declared as DruidExceptionModifier and TypeFieldDescriptionstatic final DruidExceptionFrameCursorUtils.SUBQUERY_ROW_TOO_LARGE_EXCEPTIONException to be thrown when the subquery's rows are too wide to fit in a single frame. -
Uses of DruidException in org.apache.druid.java.util.common.jackson
Methods in org.apache.druid.java.util.common.jackson that throw DruidExceptionModifier and TypeMethodDescriptionstatic StringJacksonUtils.writeValueAsString(com.fasterxml.jackson.databind.ObjectMapper jsonMapper, Object value) -
Uses of DruidException in org.apache.druid.query.policy
Methods in org.apache.druid.query.policy that throw DruidExceptionModifier and TypeMethodDescriptiondefault voidPolicyEnforcer.validateOrElseThrow(TableDataSource ds, Policy policy) Validates aDataSourceagainst the policy enforcer.default voidPolicyEnforcer.validateOrElseThrow(Segment segment, Policy policy) Validates aSegmentagainst the policy enforcer. -
Uses of DruidException in org.apache.druid.query.union
Methods in org.apache.druid.query.union that return DruidException