Package org.apache.druid.error
Class BaseFailure
- java.lang.Object
-
- org.apache.druid.error.DruidException.Failure
-
- org.apache.druid.error.BaseFailure
-
- Direct Known Subclasses:
EntryAlreadyExists,Forbidden,InternalServerError,InvalidInput,NotFound
public abstract class BaseFailure extends DruidException.Failure
DruidException.Failurefor a specific errorCode, category and persona.
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedBaseFailure(String errorCode, DruidException.Persona persona, DruidException.Category category, Throwable t, String msg, Object... args)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected DruidExceptionmakeException(DruidException.DruidExceptionBuilder bob)-
Methods inherited from class org.apache.druid.error.DruidException.Failure
getErrorCode
-
-
-
-
Constructor Detail
-
BaseFailure
protected BaseFailure(String errorCode, DruidException.Persona persona, DruidException.Category category, Throwable t, String msg, Object... args)
-
-
Method Detail
-
makeException
protected DruidException makeException(DruidException.DruidExceptionBuilder bob)
- Specified by:
makeExceptionin classDruidException.Failure
-
-