22 lines
429 B
Java
22 lines
429 B
Java
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");
|
|
|
|
}
|
|
|
|
}
|
|
|