📄 insufficientfundsexception.java
字号:
package itso.bank.exception;
/**
* This exception is thrown when an attempt is made to perform
* a transaction on a banking account without the proper funds
* available.
*
* @author Fabio Ferraz, Henrik Sjostrand
*/
public class InsufficientFundsException extends BankException
{
public String getMessage() {
return "Insufficient funds to carry out the transaction. Please try " +
"a smaller amount.";
}
public String getMessageKey() {
return "error.insufficientFundsException";
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -