We should throw exception but SWIG_Error causes a seg fault. We should use syslog instead of stderr but syslog.h is not swigable Signed-off-by: Henry Bruce <henry.bruce@intel.com>