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