Skip to content
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
2 changes: 1 addition & 1 deletion .idea/checkstyle-idea.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,46 @@

@NullMarked
public class ClientRuntimeException extends RuntimeException {

private final Object[] args;

public ClientRuntimeException() {
this.args = new Object[0];
}

public ClientRuntimeException(ExceptionMessageDefinition message) {
super(message.code());
this.args = new Object[0];
}

public ClientRuntimeException(ExceptionMessageDefinition message, Object... args) {
super(message.code());
this.args = args;
}

public ClientRuntimeException(String message) {
super(message);
this.args = new Object[0];
}

public ClientRuntimeException(String message, Object... args) {
super(message);
this.args = args;
}

public ClientRuntimeException(ExceptionMessageDefinition message, Throwable cause) {
super(message.code(), cause);
this.args = new Object[0];
}

public ClientRuntimeException(String message, Throwable cause) {
super(message, cause);
this.args = new Object[0];
}

public ClientRuntimeException(Throwable cause) {
super(cause);
this.args = new Object[0];
}

public ClientRuntimeException(
Expand All @@ -34,6 +53,7 @@ public ClientRuntimeException(
boolean writableStackTrace
) {
super(message.code(), cause, enableSuppression, writableStackTrace);
this.args = new Object[0];
}

public ClientRuntimeException(
Expand All @@ -43,5 +63,6 @@ public ClientRuntimeException(
boolean writableStackTrace
) {
super(message, cause, enableSuppression, writableStackTrace);
this.args = new Object[0];
}
}