summaryrefslogtreecommitdiff
path: root/cpukit/librtemscxx/error.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/librtemscxx/error.cpp')
-rw-r--r--cpukit/librtemscxx/error.cpp34
1 files changed, 17 insertions, 17 deletions
diff --git a/cpukit/librtemscxx/error.cpp b/cpukit/librtemscxx/error.cpp
index 8723856ac9..77d4910b52 100644
--- a/cpukit/librtemscxx/error.cpp
+++ b/cpukit/librtemscxx/error.cpp
@@ -29,23 +29,23 @@
namespace rtems
{
- runtime_error::runtime_error (const rtems_status_code sc)
- : std::runtime_error (::rtems_status_text (sc)),
- sc (sc)
+ runtime_error::runtime_error(const rtems_status_code sc)
+ : std::runtime_error(::rtems_status_text(sc)),
+ sc(sc)
{
}
- runtime_error::runtime_error (const rtems_status_code sc,
- const std::string& what)
- : std::runtime_error (what + ": " + ::rtems_status_text (sc)),
- sc (sc)
+ runtime_error::runtime_error(const rtems_status_code sc,
+ const std::string& what)
+ : std::runtime_error(what + ": " + ::rtems_status_text(sc)),
+ sc(sc)
{
}
- runtime_error::runtime_error (const rtems_status_code sc,
- const char* what)
- : std::runtime_error (std::string (what) + ": " + ::rtems_status_text (sc)),
- sc (sc)
+ runtime_error::runtime_error(const rtems_status_code sc,
+ const char* what)
+ : std::runtime_error(std::string(what) + ": " + ::rtems_status_text(sc)),
+ sc(sc)
{
}
@@ -54,26 +54,26 @@ namespace rtems
}
void
- runtime_error_check (const rtems_status_code sc)
+ runtime_error_check(const rtems_status_code sc)
{
if (sc != RTEMS_SUCCESSFUL) {
- throw runtime_error (sc);
+ throw runtime_error(sc);
}
}
void
- runtime_error_check (const rtems_status_code sc, const std::string& what)
+ runtime_error_check(const rtems_status_code sc, const std::string& what)
{
if (sc != RTEMS_SUCCESSFUL) {
- throw runtime_error (sc, what);
+ throw runtime_error(sc, what);
}
}
void
- runtime_error_check (const rtems_status_code sc, const char* what)
+ runtime_error_check(const rtems_status_code sc, const char* what)
{
if (sc != RTEMS_SUCCESSFUL) {
- throw runtime_error (sc, what);
+ throw runtime_error(sc, what);
}
}
};