SeqAn3  3.0.2
The Modern C++ library for sequence analysis.
exceptions.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2020, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2020, Knut Reinert & MPI für molekulare Genetik
4 // This file may be used, modified and/or redistributed under the terms of the 3-clause BSD-License
5 // shipped with this file and also available at: https://github.com/seqan/seqan3/blob/master/LICENSE.md
6 // -----------------------------------------------------------------------------------------------------
7 
13 #pragma once
14 
15 #include <stdexcept>
16 
17 #include <seqan3/core/platform.hpp>
18 
19 namespace seqan3
20 {
21 
25 {
26 public:
30  parser_invalid_argument(std::string const & s) : std::invalid_argument(s) {}
31 };
32 
49 {
50 public:
55 };
56 
59 {
60 public:
65 };
66 
69 {
70 public:
75 };
76 
79 {
80 public:
85 };
86 
89 {
90 public:
95 };
96 
99 {
100 public:
105 };
106 
110 {
111 public:
116 };
117 
121 {
122 public:
127 };
128 
131 {
132 public:
137 };
138 
141 {
142 public:
147 };
148 
152 {
153 public:
158 };
159 
171 {
172 public:
177 };
178 
182 {
183 public:
187  parser_design_error(std::string const & s) : std::logic_error(s) {}
188 };
189 
190 } // namespace seqan3
seqan3::option_declared_multiple_times
Argument parser exception thrown when a non-list option is declared multiple times.
Definition: exceptions.hpp:99
std::string
seqan3::parser_design_error::parser_design_error
parser_design_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:187
seqan3::type_conversion_failed::type_conversion_failed
type_conversion_failed(std::string const &s)
The constructor.
Definition: exceptions.hpp:115
seqan3::unknown_option
Argument parser exception thrown when encountering unknown option.
Definition: exceptions.hpp:59
seqan3::parser_invalid_argument::parser_invalid_argument
parser_invalid_argument(std::string const &s)
The constructor.
Definition: exceptions.hpp:30
seqan3::validation_failed::validation_failed
validation_failed(std::string const &s)
The constructor.
Definition: exceptions.hpp:157
SEQAN3_DEPRECATED_310
#define SEQAN3_DEPRECATED_310
Deprecation message for SeqAn 3.1.0 release.
Definition: platform.hpp:194
seqan3::user_input_error
Argument parser exception thrown when an incorrect argument is given as (positional) option value.
Definition: exceptions.hpp:131
stdexcept
seqan3::too_few_arguments::too_few_arguments
too_few_arguments(std::string const &s)
The constructor.
Definition: exceptions.hpp:84
seqan3::option_declared_multiple_times::option_declared_multiple_times
option_declared_multiple_times(std::string const &s)
The constructor.
Definition: exceptions.hpp:104
seqan3::too_few_arguments
Argument parser exception thrown when too few arguments are provided.
Definition: exceptions.hpp:79
seqan3::required_option_missing
Argument parser exception thrown when a required option is missing.
Definition: exceptions.hpp:89
seqan3
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
seqan3::unknown_option::unknown_option
unknown_option(std::string const &s)
The constructor.
Definition: exceptions.hpp:64
seqan3::too_many_arguments::too_many_arguments
too_many_arguments(std::string const &s)
The constructor.
Definition: exceptions.hpp:74
std::runtime_error
std::logic_error
std::invalid_argument
seqan3::overflow_error_on_conversion::overflow_error_on_conversion
overflow_error_on_conversion(std::string const &s)
The constructor.
Definition: exceptions.hpp:126
seqan3::parser_design_error
This class is deprecated.
Definition: exceptions.hpp:182
seqan3::design_error::design_error
design_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:176
seqan3::user_input_error::user_input_error
user_input_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:136
seqan3::validation_error::validation_error
validation_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:146
seqan3::validation_error
Argument parser exception thrown when an argument could not be casted to the according type.
Definition: exceptions.hpp:141
platform.hpp
Provides platform and dependency checks.
seqan3::required_option_missing::required_option_missing
required_option_missing(std::string const &s)
The constructor.
Definition: exceptions.hpp:94
std
SeqAn specific customisations in the standard namespace.
seqan3::parser_invalid_argument
This class is deprecated.
Definition: exceptions.hpp:25
seqan3::argument_parser_error
Argument parser exception that is thrown whenever there is an error while parsing the command line ar...
Definition: exceptions.hpp:49
seqan3::type_conversion_failed
This class is deprecated.
Definition: exceptions.hpp:110
seqan3::argument_parser_error::argument_parser_error
argument_parser_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:54
seqan3::validation_failed
This class is deprecated.
Definition: exceptions.hpp:152
seqan3::overflow_error_on_conversion
This class is deprecated.
Definition: exceptions.hpp:121
seqan3::design_error
Argument parser exception that is thrown whenever there is an design error directed at the developer ...
Definition: exceptions.hpp:171
seqan3::too_many_arguments
Argument parser exception thrown when too many arguments are provided.
Definition: exceptions.hpp:69