Given the code, is TreasureNotFound a checked or unchecked e…
Given the code, is TreasureNotFound a checked or unchecked exception? Is MapIsIncorrect a checked or unchecked exception? TreasureNotFound : [Item1] MapIsIncorrect: [Item2] class TreasureNotFound extends RuntimeException { public TreasureNotFound(String msg) { super(msg); } } class MapIsIncorrect extends Exception { public MapIsIncorrect(String msg) { super(msg); } }
Read Details