23 lines
637 B
Java
23 lines
637 B
Java
package ProjectStormtrooper;
|
||
|
||
public class PlanesStorageOverflowException extends RuntimeException {
|
||
public PlanesStorageOverflowException() {
|
||
}
|
||
|
||
public PlanesStorageOverflowException(String message) {
|
||
super(message);
|
||
}
|
||
|
||
public PlanesStorageOverflowException(String message, Throwable exception) {
|
||
super(message, exception);
|
||
}
|
||
|
||
protected PlanesStorageOverflowException(Throwable exception) {
|
||
super(exception);
|
||
}
|
||
|
||
public PlanesStorageOverflowException(int count) {
|
||
super("В наборе превышено допустимое количество: " + count);
|
||
}
|
||
}
|