You mean as its own class?  I don't think that is possible, unless you want to have a different Exception class for every possible error message that CFME can display.  I wrote a function that just filters Exceptions based on their message.  Only reason it's not directly used here is that we have to click the cancel button before it's re-raised (otherwise the next test won't realize it's trapped on that page)