SproutCMS

This is the code documentation for the SproutCMS project

class FileConversionException

Exception thrown while using the FileConvert helper

Source code (2 results)

/sprout/Exceptions/FileConversionException.php   Highlighted file source

Line 20: class FileConversionException extends Exception

/sprout/Helpers/FileConvert.php   Highlighted file source

Line 18: use Sprout\Exceptions\FileConversionException;
Line 53: * @throws FileConversionException LibreOffice failed to convert the file
Line 71: throw new FileConversionException('Libreoffice converting to ' . $out_ext . ' failed - exec() error');
Line 76: throw new FileConversionException('Libreoffice converting to ' . $out_ext . ' failed - destination file "' . $dest_file . '" not found');
Line 94: * @throws FileConversionException ImageMagick failed to convert the file
Line 117: throw new FileConversionException('Imagemagick converting to ' . $out_ext . ' failed - exec() error');
Line 121: throw new FileConversionException('Imagemagick converting to ' . $out_ext . ' failed - destination file not found');
Line 135: * @throws FileConversionException exiftool was unable to determine the page count
Line 148: throw new FileConversionException('Exiftool failed - exec() error');
Line 160: throw new FileConversionException('Unable to determine page count');

A total of 11 lines in 2 files were found