ErrorMessage.php 1.8 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667
  1. <?php
  2. /**
  3. * Zend Framework
  4. *
  5. * LICENSE
  6. *
  7. * This source file is subject to the new BSD license that is bundled
  8. * with this package in the file LICENSE.txt.
  9. * It is also available through the world-wide-web at this URL:
  10. * http://framework.zend.com/license/new-bsd
  11. * If you did not receive a copy of the license and are unable to
  12. * obtain it through the world-wide-web, please send an email
  13. * to license@zend.com so we can send you a copy immediately.
  14. *
  15. * @category Zend
  16. * @package Zend_Amf
  17. * @subpackage Value
  18. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  19. * @license http://framework.zend.com/license/new-bsd New BSD License
  20. * @version $Id: ErrorMessage.php 2504 2011-12-28 07:35:29Z liu21st $
  21. */
  22. /** Zend_Amf_Value_Messaging_AcknowledgeMessage */
  23. require_once 'Zend/Amf/Value/Messaging/AcknowledgeMessage.php';
  24. /**
  25. * Creates the error message to report to flex the issue with the call
  26. *
  27. * Corresponds to flex.messaging.messages.ErrorMessage
  28. *
  29. * @package Zend_Amf
  30. * @subpackage Value
  31. * @copyright Copyright (c) 2005-2009 Zend Technologies USA Inc. (http://www.zend.com)
  32. * @license http://framework.zend.com/license/new-bsd New BSD License
  33. */
  34. class Zend_Amf_Value_Messaging_ErrorMessage extends Zend_Amf_Value_Messaging_AcknowledgeMessage
  35. {
  36. /**
  37. * Additional data with error
  38. * @var object
  39. */
  40. public $extendedData = null;
  41. /**
  42. * Error code number
  43. * @var string
  44. */
  45. public $faultCode;
  46. /**
  47. * Description as to the cause of the error
  48. * @var string
  49. */
  50. public $faultDetail;
  51. /**
  52. * Short description of error
  53. * @var string
  54. */
  55. public $faultString = '';
  56. /**
  57. * root cause of error
  58. * @var object
  59. */
  60. public $rootCause = null;
  61. }