summaryrefslogtreecommitdiff
path: root/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.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/MappingNotFoundException.java
parenta425ce62f9c9db49dde81c3bc437451c69f0a363 (diff)
chore: use String format
Diffstat (limited to 'src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java')
-rw-r--r--src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java b/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java
index 40b0b65..e943c01 100644
--- a/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java
+++ b/src/main/java/ftbsc/lll/exceptions/MappingNotFoundException.java
@@ -12,7 +12,7 @@ public class MappingNotFoundException extends RuntimeException {
* @param mapping the relevant mapping
*/
public MappingNotFoundException(String mapping) {
- super("Could not find mapping for " + mapping + "!");
+ super(String.format("Could not find mapping for %s!", mapping));
}
/**