//File: NoStorageSpaceException.java //Name: Trai Pham //Date: 03/02/2020 //Course: CSE 8B /** An exception for when the pokemon Storage system is out of space and cannot store more Pokemon. The storage system includes the 6 boxes, with 25 spaces **/ public class NoStorageSpaceException extends Exception{ private static final String EXCEPT_MSG = "No storage left\n"; /** @param nothing @return nothing Constructor **/ public NoStorageSpaceException(){ //formatting of Exception super(EXCEPT_MSG); } /** @param nothing @return Strings prints the message **/ @Override public String toString(){ return String.format(EXCEPT_MSG); } }