data_structures_free
This commit is contained in:
18
net/datastructures/InvalidPositionException.java
Normal file
18
net/datastructures/InvalidPositionException.java
Normal file
@@ -0,0 +1,18 @@
|
||||
package net.datastructures;
|
||||
/**
|
||||
* Thrown when a position is determined to be invalid.
|
||||
* @author Roberto Tamassia, Michael Goodrich
|
||||
*/
|
||||
//begin#fragment InvalidPositionException
|
||||
// A run-time exception for invalid positions
|
||||
public class InvalidPositionException extends RuntimeException {
|
||||
public InvalidPositionException(String err) {
|
||||
super(err);
|
||||
}
|
||||
//end#fragment InvalidPositionException
|
||||
public InvalidPositionException() {
|
||||
/* default constructor */
|
||||
}
|
||||
//begin#fragment InvalidPositionException
|
||||
}
|
||||
//end#fragment InvalidPositionException
|
||||
Reference in New Issue
Block a user