mirror of https://github.com/apache/druid.git
Deprecate EntryExistsException in Druid 27 and remove in Druid 28 (#14554)
Also deprecate UnknownSegmentIdsException.
This commit is contained in:
parent
63ee69b4e8
commit
58a35bf07e
|
@ -25,7 +25,11 @@ import org.apache.druid.java.util.common.StringUtils;
|
|||
/**
|
||||
* A non-transient Druid metadata exception thrown when trying to insert a
|
||||
* duplicate entry in the metadata.
|
||||
*
|
||||
* @deprecated Usages of this exception will be replaced by the new
|
||||
* {@link org.apache.druid.error.DruidException} in a future release.
|
||||
*/
|
||||
@Deprecated
|
||||
public class EntryExistsException extends DruidException
|
||||
{
|
||||
|
||||
|
|
|
@ -23,7 +23,11 @@ import java.util.Collection;
|
|||
|
||||
/**
|
||||
* Exception thrown by {@link SegmentsMetadataManager} when a segment id is unknown.
|
||||
*
|
||||
* @deprecated Usages of this exception will be replaced by the new
|
||||
* {@link org.apache.druid.error.DruidException} in a future release.
|
||||
*/
|
||||
@Deprecated
|
||||
public class UnknownSegmentIdsException extends Exception
|
||||
{
|
||||
private final Collection<String> unknownSegmentIds;
|
||||
|
|
Loading…
Reference in New Issue