Throw exception if no callback supplied