File: src/Generics/Socket/SocketException.php

Recommend this page to a friend!
  Classes of Maik Greubel  >  PHP Generics  >  src/Generics/Socket/SocketException.php  >  Download  
File: src/Generics/Socket/SocketException.php
Role: Class source
Content type: text/plain
Description: Derived Exception
Class: PHP Generics
Framework for accessing streams, sockets and logs
Author: By
Last change: Fix coding style
Add threshold log level api unit test
Add log level threshold setting api
Date: 3 years ago
Size: 1,000 bytes
 

Contents

Class file image Download
<?php

/**
 * This file is part of the PHP Generics package.
 *
 * @package Generics
 */
namespace Generics\Socket;

use
Generics\GenericsException;
use
Exception;

/**
 * Derived exception
 *
 * Will be thrown whenever socket has an exceptional state
 *
 * @author Maik Greubel <greubel@nkey.de>
 */
class SocketException extends GenericsException
{

   
/**
     * Create a new SocketException
     *
     * @param string $message
     * The message to throw; May contain placeholder like {placeholder} and will be replaced by context
     * elements
     * @param array $context
     * The context elements to replace in message
     * @param number $code
     * Optional code
     * @param Exception $previous
     * Optional previous exception
     */
   
public function __construct($message, array $context = array(), $code = 0, Exception $previous = null)
    {
       
parent::__construct($message, $context, $code, $previous);
    }
}


For more information send a message to info at phpclasses dot org.