C# Class Pchp.Core.PhpException

Show file Open project: iolevel/peachpie Class Usage Examples

Public Methods

Method Description
Throw ( PhpError error, string formatString ) : void
ToErrorMessage ( string exceptionMessage ) : string

Converts exception message (ending by dot) to error message (not ending by a dot).

Method Details

Throw() public static method

public static Throw ( PhpError error, string formatString ) : void
error PhpError
formatString string
return void

ToErrorMessage() public static method

Converts exception message (ending by dot) to error message (not ending by a dot).
is a null reference.
public static ToErrorMessage ( string exceptionMessage ) : string
exceptionMessage string The exception message.
return string