📄 duplicateproductidexception.java
字号:
/*
* JCatalog Project
*/
package catalog.model.exception;
/**
* Exception thrown when a product with duplicate id is to be inserted.
*
* @author <a href="mailto:derek_shen@hotmail.com">Derek Y. Shen</a>
* @see CatalogException
*/
public class DuplicateProductIdException extends CatalogException {
/**
* Constructor.
*
* @param msg the error message
* @param cause the root cause of the exception
*/
public DuplicateProductIdException(String msg, Throwable cause) {
super(msg, cause);
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -