summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
diff options
context:
space:
mode:
author zaaarf <me@zaaarf.foo>2024-06-04 20:03:51 +0200
committer zaaarf <me@zaaarf.foo>2024-06-04 20:03:51 +0200
commit4d330a731bf44bcca291a23407c06ed063193921 (patch)
treedad468e37c33fcc264a49ce0c73a0d3b763ab034 /src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
parentf8bf9996c92d15ee8499bda25f0a23070a6f7752 (diff)
feat: better inner classes api, removed deprecation warnings since that stuff is there to stayHEAD0.7.0dev
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java22
1 files changed, 0 insertions, 22 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java b/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
deleted file mode 100644
index 76f12a5..0000000
--- a/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
+++ /dev/null
@@ -1,22 +0,0 @@
-package ftbsc.lll.exceptions;
-
-/**
- * Thrown when a resource passed as an argument is not found.
- */
-public class InvalidResourceException extends RuntimeException {
-
- /**
- * Empty constructor, used when the provided resource exists but is empty.
- */
- public InvalidResourceException() {
- super("The specified resource was empty!");
- }
-
- /**
- * Named constructor, used when the specified resource doesn't exist.
- * @param name the resource name
- */
- public InvalidResourceException(String name) {
- super(String.format("Specified resource %s was not found!", name));
- }
-}