Coverage Summary for Class: AppException (cn.edu.ecnu.stu.bookstore.component)
Class | Class, % | Method, % | Line, % |
---|---|---|---|
AppException | 100% (1/1) | 100% (3/3) | 100% (3/3) |
package cn.edu.ecnu.stu.bookstore.component;
import lombok.AllArgsConstructor;
@AllArgsConstructor
public class AppException extends RuntimeException{
private String code;
private String message;
public String getCode() {
return code;
}
@Override
public String getMessage() {
return message;
}
}