PageRenderTime 46ms CodeModel.GetById 21ms RepoModel.GetById 0ms app.codeStats 0ms

/ezcomponents/Archive/src/exceptions/empty.php

http://hppg.googlecode.com/
PHP | 27 lines | 9 code | 1 blank | 17 comment | 0 complexity | 19eb3fb3e6ca070d4105b047642f473c MD5 | raw file
Possible License(s): GPL-3.0, BSD-3-Clause
  1. <?php
  2. /**
  3. * File containing the ezcArchiveEmptyException class.
  4. *
  5. * @package Archive
  6. * @version 1.4.1
  7. * @copyright Copyright (C) 2005-2010 eZ Systems AS. All rights reserved.
  8. * @license http://ez.no/licenses/new_bsd New BSD License
  9. */
  10. /**
  11. * Exception for when an archive is empty.
  12. *
  13. * @package Archive
  14. * @version 1.4.1
  15. */
  16. class ezcArchiveEmptyException extends ezcArchiveException
  17. {
  18. /**
  19. * Constructs a new exception for empty archive.
  20. */
  21. public function __construct()
  22. {
  23. parent::__construct( "The archive is empty." );
  24. }
  25. }
  26. ?>