Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[#1549] fix(common): Uniformly throw RssException for external callers #1550

Merged
merged 1 commit into from
Feb 28, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading