mirror of
https://github.com/apache/druid.git
synced 2025-02-09 11:34:54 +00:00
replace jdk internal exceptions with closest publicly available one
This commit is contained in:
parent
c2263a339e
commit
6d4181191f
@ -21,7 +21,6 @@ package org.apache.druid.indexing.overlord.supervisor;
|
|||||||
|
|
||||||
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
import com.fasterxml.jackson.annotation.JsonSubTypes;
|
||||||
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
import com.fasterxml.jackson.annotation.JsonTypeInfo;
|
||||||
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
|
||||||
|
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
|
|
||||||
@ -45,12 +44,12 @@ public interface SupervisorSpec
|
|||||||
|
|
||||||
default SupervisorSpec createSuspendedSpec()
|
default SupervisorSpec createSuspendedSpec()
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
default SupervisorSpec createRunningSpec()
|
default SupervisorSpec createRunningSpec()
|
||||||
{
|
{
|
||||||
throw new NotImplementedException();
|
throw new UnsupportedOperationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
default boolean isSuspended()
|
default boolean isSuspended()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user