This exception is thrown when someone tries to fetch a configuration entry with an invalid name, or override an already set entry, both of which are errors in the logic and cannot be meaningfully handled, so it does not make sense for this exception to trigger IDE warnings. (The one exception is the etcd load error, which probably shouldn't be a ConfigException in the first place. But even that is not something callers could meaningfully handle.) Change-Id: I26b5b32f3348965f0cbf607cbb7cb5aaa509ed51
29 lines
914 B
PHP
29 lines
914 B
PHP
<?php
|
|
/**
|
|
* Copyright 2014
|
|
*
|
|
* This program is free software; you can redistribute it and/or modify
|
|
* it under the terms of the GNU General Public License as published by
|
|
* the Free Software Foundation; either version 2 of the License, or
|
|
* (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License along
|
|
* with this program; if not, write to the Free Software Foundation, Inc.,
|
|
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
* http://www.gnu.org/copyleft/gpl.html
|
|
*
|
|
* @file
|
|
*/
|
|
|
|
/**
|
|
* Exceptions for config failures
|
|
*
|
|
* @since 1.23
|
|
*/
|
|
class ConfigException extends LogicException {
|
|
}
|