PIbd-23_Polevoy_S.V._SelfPr.../StorageOverflowException.java

19 lines
549 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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