summaryrefslogtreecommitdiff
path: root/idlc
diff options
context:
space:
mode:
Diffstat (limited to 'idlc')
-rw-r--r--idlc/inc/options.hxx9
-rw-r--r--idlc/source/options.cxx5
2 files changed, 5 insertions, 9 deletions
diff --git a/idlc/inc/options.hxx b/idlc/inc/options.hxx
index 212faf3187d6..4c30bcc40db8 100644
--- a/idlc/inc/options.hxx
+++ b/idlc/inc/options.hxx
@@ -46,11 +46,9 @@ public:
static bool checkCommandFile(std::vector< std::string > & rArgs, char const * filename);
/// @throws IllegalArgument
- bool initOptions(std::vector< std::string > & rArgs)
- throw(IllegalArgument);
+ bool initOptions(std::vector< std::string > & rArgs);
/// @throws IllegalArgument
- static bool badOption(char const * reason, std::string const & rArg)
- throw(IllegalArgument);
+ static bool badOption(char const * reason, std::string const & rArg);
bool setOption(char const * option, std::string const & rArg);
OString prepareHelp();
@@ -59,8 +57,7 @@ public:
const OString& getProgramName() const { return m_program;}
bool isValid(const OString& option);
/// @throws IllegalArgument
- const OString& getOption(const OString& option)
- throw( IllegalArgument );
+ const OString& getOption(const OString& option);
const std::vector< OString >& getInputFiles() const { return m_inputFiles; }
bool readStdin() const { return m_stdin; }
diff --git a/idlc/source/options.cxx b/idlc/source/options.cxx
index 0d02236cac47..794f7929ad33 100644
--- a/idlc/source/options.cxx
+++ b/idlc/source/options.cxx
@@ -174,7 +174,7 @@ bool Options::checkCommandFile (std::vector< std::string > & rArgs, char const *
return (fclose(fp) == 0);
}
-bool Options::badOption(char const * reason, std::string const & rArg) throw(IllegalArgument)
+bool Options::badOption(char const * reason, std::string const & rArg)
{
OStringBuffer message;
if (reason != nullptr)
@@ -216,7 +216,7 @@ OString convertIncPathtoShortWindowsPath(const OString& incPath) {
}
#endif
-bool Options::initOptions(std::vector< std::string > & rArgs) throw(IllegalArgument)
+bool Options::initOptions(std::vector< std::string > & rArgs)
{
std::vector< std::string >::const_iterator first = rArgs.begin(), last = rArgs.end();
for (; first != last; ++first)
@@ -427,7 +427,6 @@ bool Options::isValid(const OString& option)
}
const OString& Options::getOption(const OString& option)
- throw( IllegalArgument )
{
if (!isValid(option))
{