Files
secondo/Algebras/Rose/RoseJava/twodsack/util/collection/ComparatorNotDefinedException.java
2026-01-23 17:03:45 +08:00

30 lines
900 B
Java

/*
* ComparatorNotDefinedException.java 2005-05-11
*
* Dirk Ansorge, FernUniversitaet Hagen
*
*/
package twodsack.util.collection;
/**
* A ComparatorNotDefinedException is thrown, when a method for a collection is called that needs a comparator. One example is the
* <code>remove()</code> method for {@link ProLinkedList}. All of the other operations of that class work without the comparator.
* However, if remove shall be used, the class instance has to be constructed using a comparator.
*/
public class ComparatorNotDefinedException extends RuntimeException {
/**
* The 'empty' constructor.
*/
public ComparatorNotDefinedException() { super(); }
/**
* A constructor that stores an error message.
*
* @param s the error message
*/
public ComparatorNotDefinedException(String s) { super(s); }
}//end class ComparatorNotDefinedException