Is it just me, or does the example code shown in this article not show a THING having to do with using the exception? It looks like a simple Hello World to me. True, putting in malicious content would throw the exception, but the code shows nothing about how to parse the exception and perhaps do something useful with it such as showing the user what content it was that was rejected, etc.