1 package org.naftulin.configmgr;
2
3 /***
4 * Exception that is originated from configuration manager.
5 *
6 * @author Henry Naftulin
7 * @since 1.0
8 */
9 public class ConfigurationManagerRuntimeException extends RuntimeException {
10 private static final long serialVersionUID = 1L;
11
12 /***
13 * Constructs a new exception with null as detailed message.
14 */
15 public ConfigurationManagerRuntimeException() { super(); }
16
17 /***
18 * Constructs a new exception with the specified detail message and cause.
19 * @param message the detailed message.
20 * @param cause the cause for the exception.
21 */
22 public ConfigurationManagerRuntimeException(final String message, final Throwable cause) {
23 super(message, cause);
24 }
25
26 /***
27 * Constructs a new exception with detailed message.
28 * @param message the detailed message.
29 */
30 public ConfigurationManagerRuntimeException(final String message) { super(message); }
31
32 /***
33 * Constructs a new exception with specified cause
34 * @param cause the specified cause.
35 */
36 public ConfigurationManagerRuntimeException(final Throwable cause) { super(cause); }
37 }