aboutsummaryrefslogtreecommitdiff
path: root/libraries/launcher/org/prismlauncher/exception/ParameterNotFoundException.java
diff options
context:
space:
mode:
authorDioEgizio <83089242+DioEgizio@users.noreply.github.com>2022-10-19 12:13:13 +0200
committerGitHub <noreply@github.com>2022-10-19 12:13:13 +0200
commitc6515c1dad7e2d3698e78398f838ac60bd5d376f (patch)
treed10673a079c0815d14b2dd4c3500ebe9ea58f8fc /libraries/launcher/org/prismlauncher/exception/ParameterNotFoundException.java
parentddf168c5361f99f25b881d839c5eb30aff3d4ee9 (diff)
parent8201d1df0279693ab70a00e205a2612878b1d6b5 (diff)
downloadPrismLauncher-c6515c1dad7e2d3698e78398f838ac60bd5d376f.tar.gz
PrismLauncher-c6515c1dad7e2d3698e78398f838ac60bd5d376f.tar.bz2
PrismLauncher-c6515c1dad7e2d3698e78398f838ac60bd5d376f.zip
Merge pull request #54 from Samisafool/develop
Diffstat (limited to 'libraries/launcher/org/prismlauncher/exception/ParameterNotFoundException.java')
-rw-r--r--libraries/launcher/org/prismlauncher/exception/ParameterNotFoundException.java25
1 files changed, 25 insertions, 0 deletions
diff --git a/libraries/launcher/org/prismlauncher/exception/ParameterNotFoundException.java b/libraries/launcher/org/prismlauncher/exception/ParameterNotFoundException.java
new file mode 100644
index 00000000..641e0c99
--- /dev/null
+++ b/libraries/launcher/org/prismlauncher/exception/ParameterNotFoundException.java
@@ -0,0 +1,25 @@
+/*
+ * Copyright 2012-2021 MultiMC Contributors
+ *
+ * Licensed under the Apache License, Version 2.0 (the "License");
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+
+package org.prismlauncher.exception;
+
+public final class ParameterNotFoundException extends IllegalArgumentException {
+
+ public ParameterNotFoundException(String key) {
+ super("Unknown parameter name: " + key);
+ }
+
+}