Eigenpoll : D wish list : throws keyword
A throws keyword like in Java could be a plus to ensure that someone catch a functional exception (like, for example a program to save money: you try to put money into your bank account, but you do not either a bank account either the bank can not do what you want at that time).
eg:
void saveMoney(double money) throws NoAccountException, BankClosedException {...}
Report this item for cleanup