Implementato NodeSequence e aggiunto alcuni costruttori alle eccezioni

This commit is contained in:
2014-03-30 16:56:16 +02:00
parent 148933ac58
commit c25afb02a2
8 changed files with 294 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
package exceptions;
/**
* Signals that the boundaries of a data structure have been illegally
* traversed (e.g. past the end of a list).
* @author Roberto Tamassia
*/
//Copyright (c) 2003 Brown University, Providence, RI
//Additional modifications and methods by xgiovio
public class EmptySequenceException extends RuntimeException {
public EmptySequenceException(String message) {
super (message);
}
public EmptySequenceException() {
super ("EmptySequenceException");
}
}