49:9e0f26f020e1 | 50:874bbfa55da8 |
---|---|
36 | 36 |
37 enum WithPort { IP_WITH_PORT, IP_NO_PORT }; | 37 enum WithPort { IP_WITH_PORT, IP_NO_PORT }; |
38 | 38 |
39 struct IPAddress | 39 struct IPAddress |
40 { | 40 { |
41 class StringParseError | 41 class StringParseError : public std::exception |
42 { | 42 { |
43 String m_message; | 43 String m_message; |
44 | 44 |
45 public: | 45 public: |
46 StringParseError (String message) : | 46 StringParseError (String message) : |