MDL-41843 IMS-LTI: Fixed exception namespace

This commit is contained in:
Rajesh Taneja
2013-10-08 15:56:52 +08:00
parent 80cee53996
commit 788105dd3d
+2 -2
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) {