diff --git a/common/src/main/java/org/apache/uniffle/common/exception/FileNotFoundException.java b/common/src/main/java/org/apache/uniffle/common/exception/FileNotFoundException.java index b7d1a34b5f..36df32073b 100644 --- a/common/src/main/java/org/apache/uniffle/common/exception/FileNotFoundException.java +++ b/common/src/main/java/org/apache/uniffle/common/exception/FileNotFoundException.java @@ -17,7 +17,7 @@ package org.apache.uniffle.common.exception; -public class FileNotFoundException extends RuntimeException { +public class FileNotFoundException extends RssException { public FileNotFoundException(String message) { super(message); diff --git a/common/src/main/java/org/apache/uniffle/common/exception/InvalidRequestException.java b/common/src/main/java/org/apache/uniffle/common/exception/InvalidRequestException.java index ab890c7925..7c666a6b0a 100644 --- a/common/src/main/java/org/apache/uniffle/common/exception/InvalidRequestException.java +++ b/common/src/main/java/org/apache/uniffle/common/exception/InvalidRequestException.java @@ -17,7 +17,7 @@ package org.apache.uniffle.common.exception; -public class InvalidRequestException extends RuntimeException { +public class InvalidRequestException extends RssException { public InvalidRequestException(String message) { super(message); diff --git a/common/src/main/java/org/apache/uniffle/common/exception/NoBufferException.java b/common/src/main/java/org/apache/uniffle/common/exception/NoBufferException.java index 6bf5ca28a7..ace96abe9c 100644 --- a/common/src/main/java/org/apache/uniffle/common/exception/NoBufferException.java +++ b/common/src/main/java/org/apache/uniffle/common/exception/NoBufferException.java @@ -17,7 +17,7 @@ package org.apache.uniffle.common.exception; -public class NoBufferException extends RuntimeException { +public class NoBufferException extends RssException { public NoBufferException(String message) { super(message); } diff --git a/common/src/main/java/org/apache/uniffle/common/exception/NoBufferForHugePartitionException.java b/common/src/main/java/org/apache/uniffle/common/exception/NoBufferForHugePartitionException.java index df6e36984a..76ef2e5b3d 100644 --- a/common/src/main/java/org/apache/uniffle/common/exception/NoBufferForHugePartitionException.java +++ b/common/src/main/java/org/apache/uniffle/common/exception/NoBufferForHugePartitionException.java @@ -17,7 +17,7 @@ package org.apache.uniffle.common.exception; -public class NoBufferForHugePartitionException extends RuntimeException { +public class NoBufferForHugePartitionException extends RssException { public NoBufferForHugePartitionException(String message) { super(message); } diff --git a/common/src/main/java/org/apache/uniffle/common/exception/NoRegisterException.java b/common/src/main/java/org/apache/uniffle/common/exception/NoRegisterException.java index 34f72309e6..930369d35f 100644 --- a/common/src/main/java/org/apache/uniffle/common/exception/NoRegisterException.java +++ b/common/src/main/java/org/apache/uniffle/common/exception/NoRegisterException.java @@ -17,7 +17,7 @@ package org.apache.uniffle.common.exception; -public class NoRegisterException extends RuntimeException { +public class NoRegisterException extends RssException { public NoRegisterException(String message) { super(message); } diff --git a/common/src/main/java/org/apache/uniffle/common/exception/RssSendFailedException.java b/common/src/main/java/org/apache/uniffle/common/exception/RssSendFailedException.java index a1f4679ad1..4ae3678fc0 100644 --- a/common/src/main/java/org/apache/uniffle/common/exception/RssSendFailedException.java +++ b/common/src/main/java/org/apache/uniffle/common/exception/RssSendFailedException.java @@ -17,7 +17,7 @@ package org.apache.uniffle.common.exception; -public class RssSendFailedException extends RuntimeException { +public class RssSendFailedException extends RssException { public RssSendFailedException(String message) { super(message); } diff --git a/common/src/main/java/org/apache/uniffle/common/exception/RssWaitFailedException.java b/common/src/main/java/org/apache/uniffle/common/exception/RssWaitFailedException.java index 147727e66b..e6335bf271 100644 --- a/common/src/main/java/org/apache/uniffle/common/exception/RssWaitFailedException.java +++ b/common/src/main/java/org/apache/uniffle/common/exception/RssWaitFailedException.java @@ -17,7 +17,7 @@ package org.apache.uniffle.common.exception; -public class RssWaitFailedException extends RuntimeException { +public class RssWaitFailedException extends RssException { public RssWaitFailedException(String message) { super(message); }