In a portal application, you can create an error component with a customized message that is displayed instead of the standard portal runtime error message.
The customized error message appears when a runtime error occurs in the portal.
You can check that the customized message is displayed instead of the standard runtime error page, by creating an abstract portal component that throws a runtime exception.