Terminating a connection instead of returning an exception page
You want to know how to terminate a connection instead of returning an exception page
In some situations it may be desirable to simply terminate a connection instead of returning a user-friendly error page back to a client. To accomplish this you can use policy similar to the following. This policy terminates the connection for all instances where the Policy Denied exception would have been returned.
exception.id=policy_denied terminate_connection(yes)