PHP Class Exceptions\IO\Network\UnexpectedResponseException

For example, establishing an FTP connection on a SFTP server will yield unexpected communication dialog. In this event, an UnexpectedResponseException should be thrown.
Author: Mathieu Dumoulin aka CrazyCodr ([email protected])
Inheritance: extends NetworkException
Mostra file Open project: crazycodr/standard-exceptions

Public Methods

Method Description
__construct ( $message = 'Unexpected response received while communicating with remote host', $code, $previous = null )

Method Details

__construct() public method

public __construct ( $message = 'Unexpected response received while communicating with remote host', $code, $previous = null )