personthecat.catlib.exception.DirectoryNotCreatedException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of catlib-quilt Show documentation
Show all versions of catlib-quilt Show documentation
Utilities for serialization, commands, noise generation, IO, and some new data types.
The newest version!
package personthecat.catlib.exception;
import java.io.File;
import static personthecat.catlib.util.Shorthand.f;
public class DirectoryNotCreatedException extends RuntimeException {
public DirectoryNotCreatedException(final File f) {
super(f("A required directory was not created: ", f.getPath()));
}
public DirectoryNotCreatedException(final File f, final Throwable cause) {
super(f("A required directory was not created: ", f.getPath()), cause);
}
}