diff options
author | orivej <orivej@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:44:49 +0300 |
commit | 718c552901d703c502ccbefdfc3c9028d608b947 (patch) | |
tree | 46534a98bbefcd7b1f3faa5b52c138ab27db75b7 /contrib/libs/poco/Util/src/OptionException.cpp | |
parent | e9656aae26e0358d5378e5b63dcac5c8dbe0e4d0 (diff) | |
download | ydb-718c552901d703c502ccbefdfc3c9028d608b947.tar.gz |
Restoring authorship annotation for <orivej@yandex-team.ru>. Commit 1 of 2.
Diffstat (limited to 'contrib/libs/poco/Util/src/OptionException.cpp')
-rw-r--r-- | contrib/libs/poco/Util/src/OptionException.cpp | 70 |
1 files changed, 35 insertions, 35 deletions
diff --git a/contrib/libs/poco/Util/src/OptionException.cpp b/contrib/libs/poco/Util/src/OptionException.cpp index cda4ed0b2d..237cf2af93 100644 --- a/contrib/libs/poco/Util/src/OptionException.cpp +++ b/contrib/libs/poco/Util/src/OptionException.cpp @@ -1,35 +1,35 @@ -// -// OptionException.cpp -// -// Library: Util -// Package: Options -// Module: OptionException -// -// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. -// and Contributors. -// -// SPDX-License-Identifier: BSL-1.0 -// - - -#include "Poco/Util/OptionException.h" -#include <typeinfo> - - -namespace Poco { -namespace Util { - - -POCO_IMPLEMENT_EXCEPTION(OptionException, Poco::DataException, "Option exception") -POCO_IMPLEMENT_EXCEPTION(UnknownOptionException, OptionException, "Unknown option specified") -POCO_IMPLEMENT_EXCEPTION(AmbiguousOptionException, OptionException, "Ambiguous option specified") -POCO_IMPLEMENT_EXCEPTION(MissingOptionException, OptionException, "Required option not specified") -POCO_IMPLEMENT_EXCEPTION(MissingArgumentException, OptionException, "Missing option argument") -POCO_IMPLEMENT_EXCEPTION(InvalidArgumentException, OptionException, "Invalid option argument") -POCO_IMPLEMENT_EXCEPTION(UnexpectedArgumentException, OptionException, "Unexpected option argument") -POCO_IMPLEMENT_EXCEPTION(IncompatibleOptionsException, OptionException, "Incompatible options") -POCO_IMPLEMENT_EXCEPTION(DuplicateOptionException, OptionException, "Option must not be given more than once") -POCO_IMPLEMENT_EXCEPTION(EmptyOptionException, OptionException, "Empty option specified") - - -} } // namespace Poco::Util +// +// OptionException.cpp +// +// Library: Util +// Package: Options +// Module: OptionException +// +// Copyright (c) 2004-2006, Applied Informatics Software Engineering GmbH. +// and Contributors. +// +// SPDX-License-Identifier: BSL-1.0 +// + + +#include "Poco/Util/OptionException.h" +#include <typeinfo> + + +namespace Poco { +namespace Util { + + +POCO_IMPLEMENT_EXCEPTION(OptionException, Poco::DataException, "Option exception") +POCO_IMPLEMENT_EXCEPTION(UnknownOptionException, OptionException, "Unknown option specified") +POCO_IMPLEMENT_EXCEPTION(AmbiguousOptionException, OptionException, "Ambiguous option specified") +POCO_IMPLEMENT_EXCEPTION(MissingOptionException, OptionException, "Required option not specified") +POCO_IMPLEMENT_EXCEPTION(MissingArgumentException, OptionException, "Missing option argument") +POCO_IMPLEMENT_EXCEPTION(InvalidArgumentException, OptionException, "Invalid option argument") +POCO_IMPLEMENT_EXCEPTION(UnexpectedArgumentException, OptionException, "Unexpected option argument") +POCO_IMPLEMENT_EXCEPTION(IncompatibleOptionsException, OptionException, "Incompatible options") +POCO_IMPLEMENT_EXCEPTION(DuplicateOptionException, OptionException, "Option must not be given more than once") +POCO_IMPLEMENT_EXCEPTION(EmptyOptionException, OptionException, "Empty option specified") + + +} } // namespace Poco::Util |