PHP Classes

File: phon/InvalidPHON.php

Recommend this page to a friend!
  Classes of Martin Alterisio   PHON   phon/InvalidPHON.php   Download  
File: phon/InvalidPHON.php
Role: Class source
Content type: text/plain
Description: File for the InvalidPHON Exception.
Class: PHON
Unserialize values exported with var_export
Author: By
Last change:
Date: 16 years ago
Size: 578 bytes
 

Contents

Class file image Download
<?php
/**
 * File for the InvalidPHON Exception.
 * @package PHON
 */

/**
 * Exception thrown when invalid PHON data has been found.
 * @package PHON
 */
class InvalidPHON extends Exception {
   
/**
     * The PHON data that was found to be invalid.
     * @var string
     */
   
public $phon;
   
   
/**
     * Constructor.
     * @param string $message Some text describing the exception.
     * @param string $phon The PHON data that was found to be invalid.
     */
   
public function __construct($message, $phon) {
       
parent::__construct($message);
       
$this->phon = $phon;
    }
}