Throw error May 16, 2010 • Fred Yang //"throw" is not limited just throwing Error, basically, you can throw anything. //but normally, you are supposed to throw new Error(reason); //or throw {name: exceptionName, message:reason}; Please enable JavaScript to view the comments powered by Disqus.