12 lines
245 B
Java
12 lines
245 B
Java
package net.datastructures;
|
|
/**
|
|
* Runtime exception thrown when one tries to access the root of an
|
|
* empty tree.
|
|
*/
|
|
|
|
public class EmptyTreeException extends RuntimeException {
|
|
public EmptyTreeException(String err) {
|
|
super(err);
|
|
}
|
|
}
|