Exception.php 2.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. <?php
  2. /**
  3. * PHP_LexerGenerator, a php 5 lexer generator.
  4. *
  5. * Exception classes for the lexer generator
  6. *
  7. * PHP version 5
  8. *
  9. * LICENSE:
  10. *
  11. * Copyright (c) 2006, Gregory Beaver <cellog@php.net>
  12. * All rights reserved.
  13. *
  14. * Redistribution and use in source and binary forms, with or without
  15. * modification, are permitted provided that the following conditions
  16. * are met:
  17. *
  18. * * Redistributions of source code must retain the above copyright
  19. * notice, this list of conditions and the following disclaimer.
  20. * * Redistributions in binary form must reproduce the above copyright
  21. * notice, this list of conditions and the following disclaimer in
  22. * the documentation and/or other materials provided with the distribution.
  23. * * Neither the name of the PHP_LexerGenerator nor the names of its
  24. * contributors may be used to endorse or promote products derived
  25. * from this software without specific prior written permission.
  26. *
  27. * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS
  28. * IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
  29. * THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
  30. * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR
  31. * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
  32. * EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO,
  33. * PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
  34. * PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY
  35. * OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
  36. * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
  37. * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
  38. *
  39. * @category php
  40. * @package PHP_LexerGenerator
  41. * @author Gregory Beaver <cellog@php.net>
  42. * @copyright 2006 Gregory Beaver
  43. * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
  44. */
  45. require_once 'PEAR/Exception.php';
  46. /**
  47. * @package PHP_LexerGenerator
  48. * @author Gregory Beaver <cellog@php.net>
  49. * @copyright 2006 Gregory Beaver
  50. * @license http://www.opensource.org/licenses/bsd-license.php New BSD License
  51. * @version @package_version@
  52. * @since File available since Release 0.1.0
  53. */
  54. class PHP_LexerGenerator_Exception extends PEAR_Exception {}
  55. ?>