MDL-41843 IMS-LTI: Fixed exception namespace

This commit is contained in:
Rajesh Taneja 2013-10-08 13:24:34 +08:00
parent b56d1ecadb
commit 3f8ccd7c5f

View File

@ -181,7 +181,7 @@ class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
// (3) some sort of specific discovery code based on request
//
// either way should return a string representation of the certificate
throw Exception("fetch_public_cert not implemented");
throw OAuthException("fetch_public_cert not implemented");
}
protected function fetch_private_cert(&$request) {
@ -189,7 +189,7 @@ class OAuthSignatureMethod_RSA_SHA1 extends OAuthSignatureMethod {
// (1) do a lookup in a table of trusted certs keyed off of consumer
//
// either way should return a string representation of the certificate
throw Exception("fetch_private_cert not implemented");
throw OAuthException("fetch_private_cert not implemented");
}
public function build_signature(&$request, $consumer, $token) {