public class StorageOverflowException extends RuntimeException{ public StorageOverflowException(){ } public StorageOverflowException(String message){ super(message); } public StorageOverflowException(String message,Throwable exception){ super(message,exception); } protected StorageOverflowException(Throwable exception){ super(exception); } public StorageOverflowException(int count){ super("Превышено допустимое количество в хранилище: "+count); } }