summaryrefslogtreecommitdiffstats
path: root/src/Net/IPAddress.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/Net/IPAddress.h')
-rw-r--r--src/Net/IPAddress.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Net/IPAddress.h b/src/Net/IPAddress.h
index 1d6140f..d67ec3e 100644
--- a/src/Net/IPAddress.h
+++ b/src/Net/IPAddress.h
@@ -20,7 +20,7 @@
#ifndef MAD_NET_IPADDRESS_H_
#define MAD_NET_IPADDRESS_H_
-#include "InvalidAddressException.h"
+#include <Common/Exception.h>
#include <string>
#include <arpa/inet.h>
@@ -39,8 +39,8 @@ class IPAddress {
// TODO Default port
IPAddress(uint16_t port0 = 6666);
IPAddress(uint32_t address, uint16_t port0);
- IPAddress(const std::string &address) throw(InvalidAddressException);
- IPAddress(const std::string &address, uint16_t port0) throw(InvalidAddressException);
+ IPAddress(const std::string &address) throw(Common::Exception);
+ IPAddress(const std::string &address, uint16_t port0) throw(Common::Exception);
IPAddress(const struct sockaddr_in &address);
uint32_t getAddress() const {return addr;}