aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
diff options
context:
space:
mode:
author zaaarf <zaaarf@proton.me>2023-03-15 20:32:12 +0100
committer zaaarf <zaaarf@proton.me>2023-03-15 20:32:22 +0100
commit1a4716dafedd7008b8b66e587cb8f35570be0363 (patch)
tree8bca740cb06098d567e5f17d9e584435861e02b7 /src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
parenta425ce62f9c9db49dde81c3bc437451c69f0a363 (diff)
chore: use String format
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java b/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
index dd75a08..76f12a5 100644
--- a/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
+++ b/src/main/java/ftbsc/lll/exceptions/InvalidResourceException.java
@@ -17,6 +17,6 @@ public class InvalidResourceException extends RuntimeException {
* @param name the resource name
*/
public InvalidResourceException(String name) {
- super("Specified resource " + name + " was not found!");
+ super(String.format("Specified resource %s was not found!", name));
}
}