mirror of
https://github.com/UnlegitDqrk/Potato.git
synced 2026-01-16 05:36:34 +00:00
Add BurntException for baking too long
This commit is contained in:
@@ -9,4 +9,8 @@ public class BurntException extends Exception {
|
||||
super("Potato is badly burnt by trying to boil it at " + degrees + " degrees!!");
|
||||
}
|
||||
|
||||
public BurntException() {
|
||||
super("Potato is badly burnt by baking for too long!");
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user