aboutsummaryrefslogtreecommitdiffstats
path: root/icnet/errors
diff options
context:
space:
mode:
authorMauro Sardara <msardara+fdio@cisco.com>2018-02-16 17:22:53 +0100
committerMauro Sardara <msardara+fdio@cisco.com>2018-02-16 17:22:53 +0100
commit953f18b834951680c738e9ce367b5a3eff91ccda (patch)
tree52bc181e53b9c76db1e14e693f473ca8cfca7250 /icnet/errors
parentc5e952d1cadbdf85c976e88ba97ea8bee7e422ab (diff)
Improvements for HTTP messages processing
Change-Id: Iefcbfa1820bd47fd52475780c68c363a2baa2568 Signed-off-by: Mauro Sardara <msardara+fdio@cisco.com>
Diffstat (limited to 'icnet/errors')
-rw-r--r--icnet/errors/icnet_errors_malformed_name_exception.cc6
-rw-r--r--icnet/errors/icnet_errors_malformed_name_exception.h6
-rw-r--r--icnet/errors/icnet_errors_malformed_packet_exception.cc6
-rw-r--r--icnet/errors/icnet_errors_malformed_packet_exception.h6
-rw-r--r--icnet/errors/icnet_errors_not_implemented_exception.cc6
-rw-r--r--icnet/errors/icnet_errors_not_implemented_exception.h6
-rw-r--r--icnet/errors/icnet_errors_runtime_exception.cc6
-rw-r--r--icnet/errors/icnet_errors_runtime_exception.h6
-rw-r--r--icnet/errors/icnet_errors_tokenizer_exception.cc6
-rw-r--r--icnet/errors/icnet_errors_tokenizer_exception.h6
10 files changed, 10 insertions, 50 deletions
diff --git a/icnet/errors/icnet_errors_malformed_name_exception.cc b/icnet/errors/icnet_errors_malformed_name_exception.cc
index 361c211a..b721ebfe 100644
--- a/icnet/errors/icnet_errors_malformed_name_exception.cc
+++ b/icnet/errors/icnet_errors_malformed_name_exception.cc
@@ -15,8 +15,6 @@
#include "icnet_errors.h"
-namespace icnet {
-
namespace errors {
MalformedNameException::MalformedNameException()
@@ -27,6 +25,4 @@ char const *MalformedNameException::what() const noexcept {
return "Malformed IP address.";
}
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_malformed_name_exception.h b/icnet/errors/icnet_errors_malformed_name_exception.h
index f714d2b0..c113ee12 100644
--- a/icnet/errors/icnet_errors_malformed_name_exception.h
+++ b/icnet/errors/icnet_errors_malformed_name_exception.h
@@ -17,8 +17,6 @@
#include <stdexcept>
-namespace icnet {
-
namespace errors {
class MalformedNameException : public std::runtime_error {
@@ -27,6 +25,4 @@ class MalformedNameException : public std::runtime_error {
virtual char const *what() const noexcept override;
};
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_malformed_packet_exception.cc b/icnet/errors/icnet_errors_malformed_packet_exception.cc
index 962a6582..5f63e730 100644
--- a/icnet/errors/icnet_errors_malformed_packet_exception.cc
+++ b/icnet/errors/icnet_errors_malformed_packet_exception.cc
@@ -15,8 +15,6 @@
#include "icnet_errors_malformed_packet_exception.h"
-namespace icnet {
-
namespace errors {
MalformedPacketException::MalformedPacketException()
@@ -27,6 +25,4 @@ char const *MalformedPacketException::what() const noexcept {
return "Malformed IP packet.";
}
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_malformed_packet_exception.h b/icnet/errors/icnet_errors_malformed_packet_exception.h
index 0420d5c1..42fc7179 100644
--- a/icnet/errors/icnet_errors_malformed_packet_exception.h
+++ b/icnet/errors/icnet_errors_malformed_packet_exception.h
@@ -17,8 +17,6 @@
#include <stdexcept>
-namespace icnet {
-
namespace errors {
class MalformedPacketException : public std::runtime_error {
@@ -27,6 +25,4 @@ class MalformedPacketException : public std::runtime_error {
virtual char const *what() const noexcept override;
};
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_not_implemented_exception.cc b/icnet/errors/icnet_errors_not_implemented_exception.cc
index c58039c9..8a652c74 100644
--- a/icnet/errors/icnet_errors_not_implemented_exception.cc
+++ b/icnet/errors/icnet_errors_not_implemented_exception.cc
@@ -15,8 +15,6 @@
#include "icnet_errors_not_implemented_exception.h"
-namespace icnet {
-
namespace errors {
NotImplementedException::NotImplementedException()
@@ -28,6 +26,4 @@ char const *NotImplementedException::what() const noexcept {
return "Function not yet implemented.";
}
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_not_implemented_exception.h b/icnet/errors/icnet_errors_not_implemented_exception.h
index 980ae99f..5711bd1f 100644
--- a/icnet/errors/icnet_errors_not_implemented_exception.h
+++ b/icnet/errors/icnet_errors_not_implemented_exception.h
@@ -17,8 +17,6 @@
#include <stdexcept>
-namespace icnet {
-
namespace errors {
class NotImplementedException : public std::logic_error {
@@ -27,6 +25,4 @@ class NotImplementedException : public std::logic_error {
virtual char const *what() const noexcept override;
};
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_runtime_exception.cc b/icnet/errors/icnet_errors_runtime_exception.cc
index 4853f25c..a180224b 100644
--- a/icnet/errors/icnet_errors_runtime_exception.cc
+++ b/icnet/errors/icnet_errors_runtime_exception.cc
@@ -15,8 +15,6 @@
#include "icnet_errors_runtime_exception.h"
-namespace icnet {
-
namespace errors {
RuntimeException::RuntimeException()
@@ -27,6 +25,4 @@ RuntimeException::RuntimeException()
// return "Function not yet implemented.";
//}
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_runtime_exception.h b/icnet/errors/icnet_errors_runtime_exception.h
index 37c6bcb6..7c1e23d6 100644
--- a/icnet/errors/icnet_errors_runtime_exception.h
+++ b/icnet/errors/icnet_errors_runtime_exception.h
@@ -18,8 +18,6 @@
#include <stdexcept>
#include <string>
-namespace icnet {
-
namespace errors {
class RuntimeException : public std::runtime_error {
@@ -29,6 +27,4 @@ class RuntimeException : public std::runtime_error {
: runtime_error(what) {};
};
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_tokenizer_exception.cc b/icnet/errors/icnet_errors_tokenizer_exception.cc
index 1b5e8438..d7da2b0a 100644
--- a/icnet/errors/icnet_errors_tokenizer_exception.cc
+++ b/icnet/errors/icnet_errors_tokenizer_exception.cc
@@ -15,8 +15,6 @@
#include "icnet_errors_tokenizer_exception.h"
-namespace icnet {
-
namespace errors {
TokenizerException::TokenizerException()
@@ -28,6 +26,4 @@ char const *TokenizerException::what() const noexcept {
return "No more tokens available.";
}
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file
diff --git a/icnet/errors/icnet_errors_tokenizer_exception.h b/icnet/errors/icnet_errors_tokenizer_exception.h
index bae9d82a..e849e0db 100644
--- a/icnet/errors/icnet_errors_tokenizer_exception.h
+++ b/icnet/errors/icnet_errors_tokenizer_exception.h
@@ -17,8 +17,6 @@
#include <stdexcept>
-namespace icnet {
-
namespace errors {
class TokenizerException : public std::logic_error {
@@ -27,6 +25,4 @@ class TokenizerException : public std::logic_error {
virtual char const *what() const noexcept override;
};
-} // end namespace errors
-
-} // end namespace icnet \ No newline at end of file
+} // end namespace errors \ No newline at end of file