mirror of
https://github.com/nagisa77/OpenIsle.git
synced 2026-02-27 08:30:47 +08:00
fix: 后端代码格式化
This commit is contained in:
@@ -9,11 +9,11 @@ import lombok.Getter;
|
||||
*/
|
||||
@Getter
|
||||
public class FieldException extends RuntimeException {
|
||||
private final String field;
|
||||
|
||||
public FieldException(String field, String message) {
|
||||
super(message);
|
||||
this.field = field;
|
||||
}
|
||||
private final String field;
|
||||
|
||||
public FieldException(String field, String message) {
|
||||
super(message);
|
||||
this.field = field;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -4,7 +4,8 @@ package com.openisle.exception;
|
||||
* Exception representing a missing resource such as a post or user.
|
||||
*/
|
||||
public class NotFoundException extends RuntimeException {
|
||||
public NotFoundException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public NotFoundException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -4,7 +4,8 @@ package com.openisle.exception;
|
||||
* Exception thrown when a user exceeds allowed action rate.
|
||||
*/
|
||||
public class RateLimitException extends RuntimeException {
|
||||
public RateLimitException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public RateLimitException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user