JavaVertXWebServer.supportFiles.ApiException.mustache Maven / Gradle / Ivy
package {{invokerPackage}};
public class ApiException extends RuntimeException {
private final String message;
private Integer statusCode;
public ApiException(String message) {
this.message = message;
}
@Override
public String getMessage() {
return message;
}
public ApiException setStatusCode(Integer statusCode) {
this.statusCode = statusCode;
return this;
}
public Integer getStatusCode() {
return statusCode;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy