001 /*
002 * Copyright 2002-2004 the original author or authors.
003 *
004 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
005 * use this file except in compliance with the License. You may obtain a copy of
006 * the License at
007 *
008 * http://www.apache.org/licenses/LICENSE-2.0
009 *
010 * Unless required by applicable law or agreed to in writing, software
011 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
012 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
013 * License for the specific language governing permissions and limitations under
014 * the License.
015 */
016 package org.springframework.richclient.application;
017
018 /**
019 * <p>
020 * Indicates that there is a problem with the runtime configuration of the
021 * application. This is a fairly general top-level exception. Before creating
022 * and throwing an instance of this type, consider if a more specific subclass
023 * would be appropriate.
024 * </p>
025 * @author Kevin Stembridge
026 * @since 0.3
027 *
028 */
029 public class ConfigurationException extends ApplicationException {
030
031 private static final long serialVersionUID = 1210397078030323683L;
032
033 /**
034 * Creates a new {@code ConfigurationException}.
035 */
036 public ConfigurationException() {
037 super();
038 }
039
040 /**
041 * Creates a new {@code ConfigurationException} with the specified message.
042 *
043 * @param message The detail message.
044 */
045 public ConfigurationException(String message) {
046 super(message);
047 }
048
049 /**
050 * Creates a new {@code ConfigurationException} with the specified message
051 * and nested exception.
052 *
053 * @param message The detail message.
054 * @param cause The nested exception.
055 */
056 public ConfigurationException(String message, Throwable cause) {
057 super(message, cause);
058 }
059
060 /**
061 * Creates a new {@code ConfigurationException} with the specified nested
062 * exception.
063 *
064 * @param cause The nested exception.
065 */
066 public ConfigurationException(Throwable cause) {
067 super(cause);
068 }
069
070 }