1 package org.lcsim.recon.cat.util;
2
3
4
5
6
7
8
9 public class NoSuchParameterException extends RuntimeException {
10
11
12
13 public NoSuchParameterException() {
14 super("No such parameter name\n Method: set(name,value)");
15 }
16
17 public NoSuchParameterException(String parName) {
18 super("No such parameter name: " + parName + "\n Method: set(name,value)");
19 }
20
21 public NoSuchParameterException(String parName, Class cl) {
22 super("No such parameter name: " + parName + "\n Method: set(name,value)\n Class: " + cl.getName());
23 }
24
25 }