Files
unisa_strutture_dati_2013_2014/exceptions/EmptySequenceException.java

19 lines
503 B
Java

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");
}
}