forked from moodle/moodle
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master_MDL-76929' of https://github.com/mattporritt/moodle
- Loading branch information
Showing
35 changed files
with
4,694 additions
and
2,172 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc; | ||
|
||
class Exception extends \Exception | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
use PhpXmlRpc\Exception as BaseExtension; | ||
|
||
/** | ||
* To be used when throwing exceptions instead of returning Response objects (future API?) | ||
*/ | ||
class FaultResponseException extends BaseExtension | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
class NoSuchMethodException extends ServerException | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
use PhpXmlRpc\Exception as BaseExtension; | ||
|
||
/** | ||
* Base exception for errors while parsing xml-rpc requests/responses: charset issue, xml issues, xml-rpc issues | ||
*/ | ||
class ParsingException extends BaseExtension | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,4 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
class PhpXmlrpcException extends \Exception | ||
{ | ||
} | ||
// deprecated. Kept around for BC | ||
class_alias('PhpXmlRpc\Exception', 'PhpXmlRpc\Exception\PhpXmlRpcException'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
use PhpXmlRpc\Exception as BaseExtension; | ||
|
||
/** | ||
* Base exception for errors thrown by the server while trying to handle the requests, such as errors with the dispatch map | ||
*/ | ||
class ServerException extends BaseExtension | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
use PhpXmlRpc\Exception as BaseExtension; | ||
|
||
/** | ||
* Exception thrown when an object is in such a state that it can not fulfill execution of a method | ||
*/ | ||
class StateErrorException extends BaseExtension | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
use PhpXmlRpc\Exception as BaseExtension; | ||
|
||
/** | ||
* To be used for all errors related to the transport, which are not related to specifically to HTTP. Eg: can not open socket | ||
*/ | ||
class TransportException extends BaseExtension | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
use PhpXmlRpc\Exception as BaseExtension; | ||
|
||
/** | ||
* Exception thrown when an argument passed to a function or method has an unsupported type | ||
*/ | ||
class TypeErrorException extends BaseExtension | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
use PhpXmlRpc\Exception as BaseExtension; | ||
|
||
/** | ||
* Exception thrown when an argument passed to a function or method has an unsupported value (but its type is ok) | ||
*/ | ||
class ValueErrorException extends BaseExtension | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
class XmlException extends ParsingException | ||
{ | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
<?php | ||
|
||
namespace PhpXmlRpc\Exception; | ||
|
||
class XmlRpcException extends ParsingException | ||
{ | ||
} |
Oops, something went wrong.