001package com.nimbusds.common.config;
002
003
004/**
005* Thrown to indicate a configuration exception. This class is intended to report
006* invalid or missing configuration parameters at service startup.
007*/
008public class ConfigurationException extends RuntimeException {
009
010
011        /**
012         * Serial version UID.
013         */
014        private static final long serialVersionUID = -2999697764205357423L;
015        
016
017        /**
018         * Creates a new configuration exception with the specified message.
019         *
020         * @param message The exception message.
021         */
022        public ConfigurationException(final String message) {
023
024                super(message);
025        }
026        
027        
028        /**
029         * Creates a new configuration exception with the specified message and
030         * cause.
031         *
032         * @param message The exception message.
033         * @param cause   The exception cause.
034         */
035        public ConfigurationException(final String message, final Throwable cause) {
036
037                super(message, cause);
038        }
039}