summaryrefslogtreecommitdiff
path: root/cpp/include/qpid/messaging/Address.h
diff options
context:
space:
mode:
Diffstat (limited to 'cpp/include/qpid/messaging/Address.h')
-rw-r--r--cpp/include/qpid/messaging/Address.h19
1 files changed, 1 insertions, 18 deletions
diff --git a/cpp/include/qpid/messaging/Address.h b/cpp/include/qpid/messaging/Address.h
index 34a186c9ce..3722db94e8 100644
--- a/cpp/include/qpid/messaging/Address.h
+++ b/cpp/include/qpid/messaging/Address.h
@@ -22,7 +22,7 @@
*
*/
#include <string>
-#include "qpid/Exception.h"
+#include "qpid/messaging/exceptions.h"
#include "qpid/types/Variant.h"
#include "qpid/messaging/ImportExport.h"
#include <ostream>
@@ -30,23 +30,6 @@
namespace qpid {
namespace messaging {
-/**
- * Thrown when a syntactically correct address cannot be resolved or
- * used.
- */
-struct InvalidAddress : public qpid::Exception
-{
- InvalidAddress(const std::string& msg);
-};
-
-/**
- * Thrown when an address string with inalid sytanx is used.
- */
-struct MalformedAddress : public qpid::Exception
-{
- MalformedAddress(const std::string& msg);
-};
-
class AddressImpl;
/**