FaultMessageDialog.js 784 B

1234567891011121314151617181920212223242526272829
  1. /*
  2. *+------------------------------------------------------------------------+
  3. *| Licensed Materials - Property of IBM
  4. *| IBM Cognos Products: Viewer
  5. *| (C) Copyright IBM Corp. 2001, 2011
  6. *|
  7. *| US Government Users Restricted Rights - Use, duplication or
  8. *| disclosure restricted by GSA ADP Schedule Contract with IBM Corp.
  9. *|
  10. *+------------------------------------------------------------------------+
  11. */
  12. dojo.provide("FaultMessageDialog");
  13. dojo.declare("FaultMessageDialog", FaultDialog, {
  14. m_oCV: null,
  15. m_errorMessage: "",
  16. constructor: function(oCV, errorMessage) {
  17. this.m_errorMessage = errorMessage;
  18. },
  19. getErrorMessage: function() {
  20. return this.m_errorMessage;
  21. },
  22. getDetails: function() {
  23. return "";
  24. },
  25. canRetryRequest: function() {
  26. return false;
  27. }
  28. });