diff --git a/src/cocoatweet/api/model/tweet.cc b/src/cocoatweet/api/model/tweet.cc index 3760866..3ee397e 100644 --- a/src/cocoatweet/api/model/tweet.cc +++ b/src/cocoatweet/api/model/tweet.cc @@ -18,7 +18,7 @@ Tweet Tweet::parse(const unsigned int _responseCode, const std::string& _json) { if (error.get() == 144) { throw CocoaTweet::Exception::TweetNotFoundException(message.get().c_str()); }else if(error.get() == 32){ - throw CocoaTweet::Exception::AuthenticateFoundException(message.get().c_str()); + throw CocoaTweet::Exception::AuthenticateException(message.get().c_str()); } }