Package org.apache.druid.error
Class QueryExceptionCompat
- java.lang.Object
-
- org.apache.druid.error.DruidException.Failure
-
- org.apache.druid.error.QueryExceptionCompat
-
public class QueryExceptionCompat extends DruidException.Failure
ADruidException.Failure
that serves to cover conversions fromQueryException
. When/if QueryException is completely eliminated from the code base, this compat layer should also be able to be removed. Additionally, it is the hope that nobody should actually be interacting with this class as it should be an implementation detail ofDruidException
and not really seen outside of that.
-
-
Field Summary
Fields Modifier and Type Field Description static String
ERROR_CODE
-
Constructor Summary
Constructors Constructor Description QueryExceptionCompat(QueryException exception)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DruidException
makeException(DruidException.DruidExceptionBuilder bob)
-
Methods inherited from class org.apache.druid.error.DruidException.Failure
getErrorCode
-
-
-
-
Field Detail
-
ERROR_CODE
public static final String ERROR_CODE
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
QueryExceptionCompat
public QueryExceptionCompat(QueryException exception)
-
-
Method Detail
-
makeException
protected DruidException makeException(DruidException.DruidExceptionBuilder bob)
- Specified by:
makeException
in classDruidException.Failure
-
-