lab 9 close #7
This commit is contained in:
16
lab/lab9/Question5/BadDoorException.java
Normal file
16
lab/lab9/Question5/BadDoorException.java
Normal file
@@ -0,0 +1,16 @@
|
||||
/*
|
||||
* BadDoorException
|
||||
*/
|
||||
|
||||
public class BadDoorException extends Exception {
|
||||
// generate serial version ID by class name
|
||||
private static final long serialVersionUID = BadDoorException.class.getName().hashCode();
|
||||
|
||||
public BadDoorException() {
|
||||
super();
|
||||
}
|
||||
|
||||
public BadDoorException(String message) {
|
||||
super(message);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user