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>Top-level Architecture Rules Exception. All domain Exceptions should
19 * extend this class.</p>
20 *
21 * @author mikenereson
22 * @see RuntimeException
23 */
24 public class ArchitectureException extends RuntimeException {
25
26
27 /***
28 * @see RuntimeException#Exception()
29 */
30 public ArchitectureException() {
31 super();
32 }
33
34 /***
35 * @see RuntimeException#Exception(String)
36 */
37 public ArchitectureException(final String message) {
38 super(message);
39 }
40
41 /***
42 * @see RuntimeException#Exception(String, Throwable)
43 */
44 public ArchitectureException(final String message, final Throwable cause) {
45 super(message, cause);
46 }
47
48 /***
49 * @see RuntimeException#Exception(Throwable)
50 */
51 public ArchitectureException(final Throwable cause) {
52 super(cause);
53 }
54 }