LimeTesterException.php 631 B

123456789101112131415161718192021222324
  1. <?php
  2. /*
  3. * This file is part of the Lime framework.
  4. *
  5. * (c) Fabien Potencier <fabien.potencier@symfony-project.com>
  6. * (c) Bernhard Schussek <bernhard.schussek@symfony-project.com>
  7. *
  8. * This source file is subject to the MIT license that is bundled
  9. * with this source code in the file LICENSE.
  10. */
  11. class LimeTesterException extends LimeTesterObject
  12. {
  13. public function __construct(Exception $exception)
  14. {
  15. parent::__construct($exception);
  16. unset($this->value['file']);
  17. unset($this->value['line']);
  18. unset($this->value['trace']);
  19. unset($this->value['string']); // some internal property of Exception
  20. }
  21. }