Given this fragment from a Java EE deployment descriptor:<br /> 341.<error-page><br /> 342.<exception-type>java.lang.Throwable</exception-type> <br /> 343.<location>/mainError.jsp</location><br /> 344.</error-page><br /> 345.<error-page><br /> 346.<exception-type>java.lang.ClassCastException</exception-type> <br /> 347.<location>/castError.jsp</location><br /> 348.</error-page><br /> If the web application associated with the fragment above throws a ClassCastException.Which statement is true?()
A、The deployment descriptor is invalid.
B、The container invokes mainError.jsp.
C、The container invokes castError.jsp.
D、Neither mainError.jsp nor castError.jsp is invoked.