I spotted the following code on the microsoft website, relating to JSP:

<error-page>
<exception-type>exception.OrderException</exception-type>
<location>/errorpage.html</location>
</error-page>

Can this be done in ASP.NET? I want to send users to a specific page dependant
on the type of Exception that's been thrown. I have a number of different
exceptions defined within in ASP.NET application, such as SiteUserSecirityException
- i want instances of this, to be dealt with say by securityError.aspx.

Is this possible?

Thanks,

Ben Merrills