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