1 <?php
2 namespace Elboletaire\Watimage\Exception;
3
4 class InvalidExtensionException extends \Exception
5 {
6 public function __construct($extension, $code = 0, \Exception $previous = null)
7 {
8 return parent::__construct("Extension .{$extension} not allowed.", $code, $previous);
9 }
10 }
11