/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
- /**
- * Construct a new exception.
- * @constructor
- * @class Class from which all other exceptions should be extended.
- *
- * @param {Object} sMessage a textual description of the exception
- * @param {Object} sCallStack a call stack typically created with <code>generateCallStack</code>
- */
- my.fwork.Exception = function(sMessage, sCallStack)
- {
- this.m_sMessage = sMessage + "\n\nCall Stack:\n" + sCallStack;
- }