lab8 finished
This commit is contained in:
19
lab/lab8/Question7/CannotResizeException.java
Normal file
19
lab/lab8/Question7/CannotResizeException.java
Normal file
@@ -0,0 +1,19 @@
|
||||
/*
|
||||
* Author: CHEN Yongyuan (Walter) 1930006025 from OOP(1007)
|
||||
* Date: 2022-04-14
|
||||
* Description:
|
||||
* CannotResizeException is a subclass of Exception.
|
||||
*/
|
||||
|
||||
public class CannotResizeException extends Exception {
|
||||
// Generate serialVersionUID by class name
|
||||
public static final long serialVersionUID = CannotResizeException.class.getName().hashCode();
|
||||
|
||||
public CannotResizeException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public CannotResizeException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user