PIbd-22_Tsukanova_I.V._Airc.../src/StorageOverflowException.java

17 lines
559 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(String message,Throwable exception){
super(message,exception);
}
protected StorageOverflowException(Throwable exception){
super(exception);
}
public StorageOverflowException(int count){
super("В наборе превышено допустимое количество: " + count);
}
}