📄 validationexception.java
字号:
package com.lakeviewtech;
/**
* Base exception type for signaling a failed validation attempt.
*/
public class ValidationException extends Exception {
/**
* The id for this exception.
*/
private String id = null;
/**
* Create a ValidationException with the given id and message.
*/
public ValidationException(String id, String message) {
super(message);
this.id = id;
}
/**
* Get the id for this exception.
*/
public String getId() {
return id;
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -