gnuradio-core: allow swig to handle exceptions in UDP source/sink
[debian/gnuradio] / gnuradio-core / src / lib / io / gr_udp_source.i
index e1b23074de4d77e530c771a35c05cffaca98f742..2001f33e9cc8ec3cd2cc2a22fe7af7acbd71e412 100755 (executable)
@@ -25,13 +25,13 @@ GR_SWIG_BLOCK_MAGIC(gr,udp_source)
 gr_udp_source_sptr 
 gr_make_udp_source (size_t itemsize, const char *host, 
                    unsigned short port, int payload_size=1472,
-                   bool eof=true, bool wait=true);
+                   bool eof=true, bool wait=true) throw (std::runtime_error);
 
 class gr_udp_source : public gr_sync_block
 {
  protected:
   gr_udp_source (size_t itemsize, const char *host, 
-                unsigned short port, int payload_size, bool eof, bool wait);
+                unsigned short port, int payload_size, bool eof, bool wait) throw (std::runtime_error);
 
  public:
   ~gr_udp_source ();