19 lines
549 B
Java
19 lines
549 B
Java
|
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);
|
|||
|
}
|
|||
|
}
|