Implementato alcuni esercizi
This commit is contained in:
21
exceptions/NotEnoughElements.java
Normal file
21
exceptions/NotEnoughElements.java
Normal file
@@ -0,0 +1,21 @@
|
||||
package exceptions;
|
||||
/**
|
||||
* Thrown when a position is determined to be invalid.
|
||||
* @author Roberto Tamassia, Michael Goodrich
|
||||
*/
|
||||
//Copyright (c) 2003 Brown University, Providence, RI
|
||||
//Additional modifications and methods by xgiovio
|
||||
|
||||
|
||||
public class NotEnoughElements extends RuntimeException {
|
||||
public NotEnoughElements(String err) {
|
||||
super(err);
|
||||
}
|
||||
|
||||
public NotEnoughElements() {
|
||||
super("NotEnoughElements");
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user