Pass __FUNCTION__ and __LINE__ into URIException

__FUNCTION__ and __LINE__ were not properly passed into URIException. However
passing them as arguments makes it ambiguous. Therefore remove the unused
empty constructor.