RolledbackTransactionException.php 791 B

12345678910111213141516171819202122232425
  1. <?php
  2. /**
  3. * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
  4. * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  5. *
  6. * Licensed under The MIT License
  7. * Redistributions of files must retain the above copyright notice.
  8. *
  9. * @copyright Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
  10. * @since 3.2.13
  11. * @license http://www.opensource.org/licenses/mit-license.php MIT License
  12. */
  13. namespace Cake\ORM\Exception;
  14. use Cake\Core\Exception\Exception;
  15. /**
  16. * Used when a transaction was rolled back from a callback event.
  17. *
  18. */
  19. class RolledbackTransactionException extends Exception
  20. {
  21. protected $_messageTemplate = 'The afterSave event in "%s" is aborting the transaction before the save process is done.';
  22. }