# You learn something new everyday... Ok, I know that [Paul](https://www.panopticoncentral.net/) knew this, but did anyone else notice that the [VB.NET Try...Catch syntax](https://msdn.microsoft.com/library/en-us/vblr7/html/vastmTryCatchFinally.asp) includes a 'when' clause?
Try
   [ tryStatements ]
[ Catch [ exception [ As type ] ] <u>[ When expression ]</u>
   [ catchStatements ] ]
[ Exit Try ]
...
[ Finally
   [ finallyStatements ] ]
End Try
**When** _Optional. A Catch statement with a When clause will only catch exceptions when expression evaluates to True. A When clause is only applied after checking the type of the exception, and expression may refer to the identifier representing the exception._ I never did! I can't think of a good use for it right at this moment, but I'm still shocked that I never noticed it before... now what to do with it?