Updates to exceptions

This commit is contained in:
Alex Bilbie
2014-05-01 14:32:54 +01:00
parent 6981ced972
commit 9f1f0cc3bc
8 changed files with 24 additions and 56 deletions

View File

@@ -210,7 +210,7 @@ class ResourceServer extends AbstractServer
}
if (empty($accessToken)) {
throw new Exception\InvalidAccessTokenException('Access token is missing');
throw new Exception\InvalidRequestException('access token');
}
return $accessToken;