class FileMetadataException in File metadata manager 8
Same name and namespace in other branches
- 8.2 src/FileMetadataException.php \Drupal\file_mdm\FileMetadataException
Exception thrown by file_mdm and plugins on failures.
Hierarchy
- class \Drupal\file_mdm\FileMetadataException extends \Drupal\file_mdm\Exception
Expanded class hierarchy of FileMetadataException
4 files declare their use of FileMetadataException
- ExifTagMapper.php in file_mdm_exif/
src/ ExifTagMapper.php - FileMetadataPluginBase.php in src/
Plugin/ FileMetadata/ FileMetadataPluginBase.php - Font.php in file_mdm_font/
src/ Plugin/ FileMetadata/ Font.php - GetImageSize.php in src/
Plugin/ FileMetadata/ GetImageSize.php
File
- src/
FileMetadataException.php, line 8
Namespace
Drupal\file_mdmView source
class FileMetadataException extends \Exception {
/**
* Constructs a FileMetadataException object.
*/
public function __construct($message, $plugin_id = NULL, $method = NULL, \Exception $previous = NULL) {
$msg = $message;
$msg .= $plugin_id ? " (plugin: {$plugin_id})" : "";
$msg .= $method ? " (method: {$method})" : "";
parent::__construct($msg, 0, $previous);
}
}
Members
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FileMetadataException:: |
public | function | Constructs a FileMetadataException object. |