class InvalidPathLengthValidatorException in Mini site 8
Class InvalidPathLengthValidatorException.
Thrown when invalid path length encountered by validator.
@package Drupal\minisite\Exception
Hierarchy
- class \Drupal\minisite\Exception\InvalidPathLengthValidatorException extends \Drupal\minisite\Exception\Exception
 
Expanded class hierarchy of InvalidPathLengthValidatorException
2 files declare their use of InvalidPathLengthValidatorException
File
- src/
Exception/ InvalidPathLengthValidatorException.php, line 12  
Namespace
Drupal\minisite\ExceptionView source
class InvalidPathLengthValidatorException extends \Exception {
  /**
   * InvalidPathLengthValidatorException constructor.
   *
   * @param string $filename
   *   The file name that was validated.
   * @param int $length
   *   The allowed characters length.
   */
  public function __construct($filename, $length) {
    parent::__construct(sprintf('File "%s" path within the archive should be under %s characters in length.', $filename, $length));
  }
}Members
| 
            Name | 
                  Modifiers | Type | Description | Overrides | 
|---|---|---|---|---|
| 
            InvalidPathLengthValidatorException:: | 
                  public | function | InvalidPathLengthValidatorException constructor. |