data_structures_free
This commit is contained in:
11
net/datastructures/NonEmptyTreeException.java
Normal file
11
net/datastructures/NonEmptyTreeException.java
Normal file
@@ -0,0 +1,11 @@
|
||||
package net.datastructures;
|
||||
/**
|
||||
* Runtime exception thrown when one tries to create the root of a
|
||||
* tree that is not empty.
|
||||
*/
|
||||
|
||||
public class NonEmptyTreeException extends RuntimeException {
|
||||
public NonEmptyTreeException(String err) {
|
||||
super(err);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user