| 
<?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;
 }
 }
 
 |