1 package mir.config.exceptions;
\r
5 public class ConfigException extends Exception {
\r
6 private String locationDescription;
\r
7 private Throwable cause;
\r
9 public ConfigException (String aMessage, Throwable aCause, String aLocationDescription) {
\r
10 super ("Configuration error at "+aLocationDescription+": "+aMessage);
\r
12 locationDescription = aLocationDescription;
\r
16 public ConfigException (String aMessage, String aLocationDescription) {
\r
17 this (aMessage, (Throwable) null, aLocationDescription);
\r
20 public ConfigException (String aMessage) {
\r
21 this (aMessage, (Throwable) null, "?");
\r