Skip to content

Commit

Permalink
refactor: protocol module's unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
fengjiachun committed Feb 4, 2024
1 parent 3df9fe2 commit 86f79c4
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 52 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,15 @@
*
* @author jiachun.fjc
*/
@SuppressWarnings("unused")
public class LimitedException extends RuntimeException {

private static final long serialVersionUID = -1L;

public LimitedException() {}

public LimitedException(String message) {
super(message);
}

public LimitedException(String message, Throwable cause) {
super(message, cause);
}

public LimitedException(Throwable cause) {
super(cause);
}

public LimitedException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,24 +18,13 @@
/**
* @author jiachun.fjc
*/
@SuppressWarnings("unused")
public class PojoException extends RuntimeException {

public PojoException() {}

public PojoException(String message) {
super(message);
}

public PojoException(String message, Throwable cause) {
super(message, cause);
}

public PojoException(Throwable cause) {
super(cause);
}

public PojoException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,26 +18,11 @@
/**
* @author jiachun.fjc
*/
@SuppressWarnings("unused")
public class ServerException extends RuntimeException {

private static final long serialVersionUID = -1L;

public ServerException() {}

public ServerException(String message) {
super(message);
}

public ServerException(String message, Throwable cause) {
super(message, cause);
}

public ServerException(Throwable cause) {
super(cause);
}

public ServerException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -20,26 +20,11 @@
*
* @author jiachun.fjc
*/
@SuppressWarnings("unused")
public class StreamException extends RuntimeException {

private static final long serialVersionUID = -1L;

public StreamException() {}

public StreamException(String message) {
super(message);
}

public StreamException(String message, Throwable cause) {
super(message, cause);
}

public StreamException(Throwable cause) {
super(cause);
}

public StreamException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) {
super(message, cause, enableSuppression, writableStackTrace);
}
}

0 comments on commit 86f79c4

Please sign in to comment.