Package org.apache.druid.error
Class EntryAlreadyExists
- java.lang.Object
-
- org.apache.druid.error.DruidException.Failure
-
- org.apache.druid.error.BaseFailure
-
- org.apache.druid.error.EntryAlreadyExists
-
public class EntryAlreadyExists extends BaseFailure
A failure type used to makeDruidExceptions of categoryDruidException.Category.INVALID_INPUTfor personaDruidException.Persona.USER, denoting that a certain entry already exists.
-
-
Field Summary
Fields Modifier and Type Field Description static StringERROR_CODE
-
Constructor Summary
Constructors Constructor Description EntryAlreadyExists(Throwable t, String msg, Object... args)
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DruidExceptionexception(String msg, Object... args)static DruidExceptionexception(Throwable t, String msg, Object... args)-
Methods inherited from class org.apache.druid.error.BaseFailure
makeException
-
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
-
-
Method Detail
-
exception
public static DruidException exception(String msg, Object... args)
-
exception
public static DruidException exception(Throwable t, String msg, Object... args)
-
-