SeqAn3  3.0.3
The Modern C++ library for sequence analysis.
exceptions.hpp
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------------------------------
2 // Copyright (c) 2006-2021, Knut Reinert & Freie Universität Berlin
3 // Copyright (c) 2016-2021, 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 
22 #ifdef SEQAN3_DEPRECATED_310
26 {
27 public:
31  parser_invalid_argument(std::string const & s) : std::invalid_argument(s) {}
32 };
33 #endif // SEQAN3_DEPRECATED_310
34 
51 {
52 public:
57 };
58 
61 {
62 public:
67 };
68 
71 {
72 public:
77 };
78 
81 {
82 public:
87 };
88 
91 {
92 public:
97 };
98 
101 {
102 public:
107 };
108 
109 #ifdef SEQAN3_DEPRECATED_310
113 {
114 public:
119 };
120 
124 {
125 public:
130 };
131 #endif // SEQAN3_DEPRECATED_310
132 
135 {
136 public:
141 };
142 
145 {
146 public:
151 };
152 
153 #ifdef SEQAN3_DEPRECATED_310
157 {
158 public:
163 };
164 #endif // SEQAN3_DEPRECATED_310
165 
177 {
178 public:
183 };
184 
185 #ifdef SEQAN3_DEPRECATED_310
189 {
190 public:
194  parser_design_error(std::string const & s) : std::logic_error(s) {}
195 };
196 #endif // SEQAN3_DEPRECATED_310
197 
198 } // namespace seqan3
Argument parser exception that is thrown whenever there is an error while parsing the command line ar...
Definition: exceptions.hpp:51
argument_parser_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:56
Argument parser exception that is thrown whenever there is an design error directed at the developer ...
Definition: exceptions.hpp:177
design_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:182
Argument parser exception thrown when a non-list option is declared multiple times.
Definition: exceptions.hpp:101
option_declared_multiple_times(std::string const &s)
The constructor.
Definition: exceptions.hpp:106
This class is deprecated.
Definition: exceptions.hpp:124
overflow_error_on_conversion(std::string const &s)
The constructor.
Definition: exceptions.hpp:129
This class is deprecated.
Definition: exceptions.hpp:189
parser_design_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:194
This class is deprecated.
Definition: exceptions.hpp:26
parser_invalid_argument(std::string const &s)
The constructor.
Definition: exceptions.hpp:31
Argument parser exception thrown when a required option is missing.
Definition: exceptions.hpp:91
required_option_missing(std::string const &s)
The constructor.
Definition: exceptions.hpp:96
Argument parser exception thrown when too few arguments are provided.
Definition: exceptions.hpp:81
too_few_arguments(std::string const &s)
The constructor.
Definition: exceptions.hpp:86
Argument parser exception thrown when too many arguments are provided.
Definition: exceptions.hpp:71
too_many_arguments(std::string const &s)
The constructor.
Definition: exceptions.hpp:76
This class is deprecated.
Definition: exceptions.hpp:113
type_conversion_failed(std::string const &s)
The constructor.
Definition: exceptions.hpp:118
Argument parser exception thrown when encountering unknown option.
Definition: exceptions.hpp:61
unknown_option(std::string const &s)
The constructor.
Definition: exceptions.hpp:66
Argument parser exception thrown when an incorrect argument is given as (positional) option value.
Definition: exceptions.hpp:135
user_input_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:140
Argument parser exception thrown when an argument could not be casted to the according type.
Definition: exceptions.hpp:145
validation_error(std::string const &s)
The constructor.
Definition: exceptions.hpp:150
This class is deprecated.
Definition: exceptions.hpp:157
validation_failed(std::string const &s)
The constructor.
Definition: exceptions.hpp:162
The main SeqAn3 namespace.
Definition: aligned_sequence_concept.hpp:29
SeqAn specific customisations in the standard namespace.
Provides platform and dependency checks.
#define SEQAN3_DEPRECATED_310
Deprecation message for SeqAn 3.1.0 release.
Definition: platform.hpp:203