diff options
| author | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-11 16:05:57 +0000 |
|---|---|---|
| committer | bkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-05-11 16:05:57 +0000 |
| commit | d107f37af105e690ccc27609ac1e7ed760b289e9 (patch) | |
| tree | 4aaa89fca6241f650b729323cec27a532bf9f7dd /libstdc++-v3/include/std/stdexcept | |
| parent | 932d10555fb933b6a3fb861c415fd5e9dfa57298 (diff) | |
| download | ppe42-gcc-d107f37af105e690ccc27609ac1e7ed760b289e9.tar.gz ppe42-gcc-d107f37af105e690ccc27609ac1e7ed760b289e9.zip | |
2007-05-11 Benjamin Kosnik <bkoz@redhat.com>
* include/std/stdexcept: Remove extra spacing.
* testsuite/19_diagnostics/stdexceptions.cc: Break into...
* testsuite/19_diagnostics/bad_exception: ...this. Populate.
* testsuite/19_diagnostics/logic_error: ... this.
* testsuite/19_diagnostics/logic_error/what-1.cc: ...this.
* testsuite/19_diagnostics/logic_error/what-2.cc: ...this.
* testsuite/19_diagnostics/runtime_error: ...this.
* testsuite/19_diagnostics/runtime_error/what-1.cc: ...this.
* testsuite/19_diagnostics/runtime_error/what-2.cc: ...this.
* testsuite/19_diagnostics/runtime_error/what-3.cc: ...this.
* testsuite/19_diagnostics/23591_thread-1.c: Move...
* testsuite/19_diagnostics/bad_exception/23591_thread-1.c: ...here.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124621 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/std/stdexcept')
| -rw-r--r-- | libstdc++-v3/include/std/stdexcept | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/libstdc++-v3/include/std/stdexcept b/libstdc++-v3/include/std/stdexcept index d246428f4de..e47adb38989 100644 --- a/libstdc++-v3/include/std/stdexcept +++ b/libstdc++-v3/include/std/stdexcept @@ -1,6 +1,6 @@ // Standard exception classes -*- C++ -*- -// Copyright (C) 2001, 2002, 2005 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2005, 2007 Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -57,7 +57,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) public: /** Takes a character string describing the error. */ explicit - logic_error(const string& __arg); + logic_error(const string& __arg); virtual ~logic_error() throw(); @@ -73,14 +73,14 @@ _GLIBCXX_BEGIN_NAMESPACE(std) class domain_error : public logic_error { public: - explicit domain_error(const string& __arg); + explicit domain_error(const string& __arg); }; /** Thrown to report invalid arguments to functions. */ class invalid_argument : public logic_error { public: - explicit invalid_argument(const string& __arg); + explicit invalid_argument(const string& __arg); }; /** Thrown when an object is constructed that would exceed its maximum @@ -88,7 +88,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) class length_error : public logic_error { public: - explicit length_error(const string& __arg); + explicit length_error(const string& __arg); }; /** This represents an argument whose value is not within the expected @@ -96,7 +96,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) class out_of_range : public logic_error { public: - explicit out_of_range(const string& __arg); + explicit out_of_range(const string& __arg); }; /** Runtime errors represent problems outside the scope of a program; @@ -111,7 +111,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std) public: /** Takes a character string describing the error. */ explicit - runtime_error(const string& __arg); + runtime_error(const string& __arg); virtual ~runtime_error() throw(); @@ -126,21 +126,21 @@ _GLIBCXX_BEGIN_NAMESPACE(std) class range_error : public runtime_error { public: - explicit range_error(const string& __arg); + explicit range_error(const string& __arg); }; /** Thrown to indicate arithmetic overflow. */ class overflow_error : public runtime_error { public: - explicit overflow_error(const string& __arg); + explicit overflow_error(const string& __arg); }; /** Thrown to indicate arithmetic underflow. */ class underflow_error : public runtime_error { public: - explicit underflow_error(const string& __arg); + explicit underflow_error(const string& __arg); }; _GLIBCXX_END_NAMESPACE |

