modified send() to return boolean result and throw and caught exception