1 /***
2 * Copyright 2007 the original author or authors.
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 * http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * For more information visit
11 * http://72miles.com and
12 * http://architecturerules.googlecode.com/svn/docs/index.html
13 */
14
15 package com.seventytwomiles.architecturerules.exceptions;
16
17 /***
18 * <p>RuntimeException that is thrown when a configuration is invalid. A
19 * configuration could be invalid for a number of reasons but happens most
20 * regularly in the creation of <code>Rules</code>.</p>
21 *
22 * @author mikenereson
23 * @noinspection JavaDoc
24 * @see ArchitectureException
25 */
26 public class InvalidConfigurationException extends ArchitectureException {
27
28
29 /***
30 * @see RuntimeException#RuntimeException()
31 */
32 public InvalidConfigurationException() {
33 super();
34 }
35
36
37 /***
38 * @see RuntimeException#RuntimeException(String)
39 */
40 public InvalidConfigurationException(final String message) {
41 super(message);
42 }
43
44
45 /***
46 * @see RuntimeException#RuntimeException(Throwable)
47 */
48 public InvalidConfigurationException(final Throwable cause) {
49 super(cause);
50 }
51
52
53 /***
54 * @see RuntimeException#RuntimeException(String,Throwable)
55 */
56 public InvalidConfigurationException(final String message,
57 final Throwable cause) {
58 super(message, cause);
59 }
60 }