Skip to content

Commit

Permalink
[#1549] fix(common): Uniformly throw RssException for external callers
Browse files Browse the repository at this point in the history
  • Loading branch information
rickyma committed Feb 28, 2024
1 parent 12f9271 commit b1884f9
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit b1884f9

Please sign in to comment.