CoreFiles by mySites.guru
ThrowingCasterException.php26 lines, 655 bytes, from Joomla_4.0.0-alpha5-Alpha-Full_Package.zip
Raw History Compare with 4.0.0-alpha3
md5
f998bff2b6fad1a9e50f55282a0b422f
sha1
f7a89e86c8ae5c672715025e5e90e34e74693ca3
sha256
5acbf3256a2b631649be261adec47f2d551309f069363f9e0ea20f4e8e918033
<?php

/*
 * This file is part of the Symfony package.
 *
 * (c) Fabien Potencier <[email protected]>
 *
 * For the full copyright and license information, please view the LICENSE
 * file that was distributed with this source code.
 */

namespace Symfony\Component\VarDumper\Exception;

/**
 * @author Nicolas Grekas <[email protected]>
 */
class ThrowingCasterException extends \Exception
{
    /**
     * @param \Exception $prev The exception thrown from the caster
     */
    public function __construct(\Exception $prev)
    {
        parent::__construct('Unexpected '.\get_class($prev).' thrown from a caster: '.$prev->getMessage(), 0, $prev);
    }
}

The same content is in 8 releases, Joomla 4.0.0-alpha5 to 4.0.0-alpha12. See them all, or every version of this file.