PHP Class Habari\XMLRPCException

Inheritance: extends Exception
Mostrar archivo Open project: habari/system

Public Methods

Method Description
__construct ( integer $code, string $message = null ) The exception constructor, called to create this excpetion
__toString ( ) Represent this exception as a string
output_fault_xml ( ) Send an XML-RPC fault output and quit.

Private Methods

Method Description
get_message ( integer $code ) : string Return a test-based error description for a numeric error code

Method Details

__construct() public method

The exception constructor, called to create this excpetion
public __construct ( integer $code, string $message = null )
$code integer The error code to produce
$message string Optional The message to display with the error

__toString() public method

Represent this exception as a string
public __toString ( )

output_fault_xml() public method

Send an XML-RPC fault output and quit.
public output_fault_xml ( )