Remove dynamic exceptions
[anna.git] / source / core / tracing / TraceWriter.cpp
index 0fa28a1..6111526 100644 (file)
@@ -47,7 +47,7 @@ TraceWriter::TraceWriter(const char* fileName, const int maxSize) :
 }
 
 void TraceWriter::setup(const char* fileName, const Configuration& configuration)
-throw() {
+{
   int maxSize = a_maxSize;
   bool clean = true;
 
@@ -74,7 +74,7 @@ throw() {
 }
 
 void TraceWriter::setup(const char* fileName, const int maxSize, const bool clean)
-throw() {
+{
   ssize_t r;
 
   if(a_stream != -1) {
@@ -127,7 +127,7 @@ throw() {
 }
 
 void TraceWriter::attach(TraceWriterObserver* observer)
-throw() {
+{
   if(observer != NULL) {
     a_observed = true;
     a_observers.push_back(observer);
@@ -138,7 +138,7 @@ throw() {
 }
 
 void TraceWriter::printResume()
-throw() {
+{
   cout << "Traces file ..................................: " << a_outputFile << endl;
   cout << "Backup copy  .................................: " << a_outputOldFile << endl;
   cout << "Files size (Kbytes) ..........................: " << (a_maxSize >> 10) << endl;
@@ -146,7 +146,7 @@ throw() {
 }
 
 void TraceWriter::do_write(int level, const char* text, ...)
-throw() {
+{
   va_list ap;
   const char* data;
   int size;
@@ -201,7 +201,7 @@ throw() {
 }
 
 const char* TraceWriter::getDate()
-throw() {
+{
   const Microsecond msnow = functions::hardwareClock();
 
   if(a_lastTime == 0 || (msnow - a_lastTime) > 1000000L) {
@@ -214,7 +214,7 @@ throw() {
 }
 
 int TraceWriter::prepareOutput(const char* date)
-throw() {
+{
   int result = a_stream;
 
   if(result == ErrorStream)