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
DruidException.Failure for a specific errorCode, category and persona.-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedBaseFailure(String errorCode, DruidException.Persona persona, DruidException.Category category, Throwable t, String msg, Object... args) -
Method Summary
Methods inherited from class org.apache.druid.error.DruidException.Failure
getErrorCode
-
Constructor Details
-
BaseFailure
protected BaseFailure(String errorCode, DruidException.Persona persona, DruidException.Category category, Throwable t, String msg, Object... args)
-
-
Method Details
-
makeException
- Specified by:
makeExceptionin classDruidException.Failure
-