/branches/version1.x/test/data/class.js

http://jsdoc-toolkit.googlecode.com/ · JavaScript · 12 lines · 4 code · 0 blank · 8 comment · 0 complexity · 41b8ba374c479f3730f6f434412666f2 MD5 · raw file

  1. /**
  2. * Construct a new exception.
  3. * @constructor
  4. * @class Class from which all other exceptions should be extended.
  5. *
  6. * @param {Object} sMessage a textual description of the exception
  7. * @param {Object} sCallStack a call stack typically created with <code>generateCallStack</code>
  8. */
  9. my.fwork.Exception = function(sMessage, sCallStack)
  10. {
  11. this.m_sMessage = sMessage + "\n\nCall Stack:\n" + sCallStack;
  12. }