test_class.declarator: webXmlWithErrorPages = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
                                            "<web-app id=\"WebApp_ID\" version=\"3.0\" xmlns=\"http://java.sun.com/xml/ns/j2ee\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
                                            "         xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd\">\n" +
                                            "    <error-page>\n" +
                                            "        <error-code>400</error-code>\n" +
                                            "        <location>/Error400.html</location>\n" +
                                            "    </error-page>\n" +
                                            "    <error-page>\n" +
                                            "        <exception-type>org.test.SomeException</exception-type>\n" +
                                            "        <location>/SomeError.jsp</location>\n" +
                                            "    </error-page>\n" +
                                            "</web-app>\n"
test_class.modifier: private
test_class.original_string: private String webXmlWithErrorPages = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n" +
                                            "<web-app id=\"WebApp_ID\" version=\"3.0\" xmlns=\"http://java.sun.com/xml/ns/j2ee\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n" +
                                            "         xsi:schemaLocation=\"http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_3_0.xsd\">\n" +
                                            "    <error-page>\n" +
                                            "        <error-code>400</error-code>\n" +
                                            "        <location>/Error400.html</location>\n" +
                                            "    </error-page>\n" +
                                            "    <error-page>\n" +
                                            "        <exception-type>org.test.SomeException</exception-type>\n" +
                                            "        <location>/SomeError.jsp</location>\n" +
                                            "    </error-page>\n" +
                                            "</web-app>\n";
test_class.type: String
test_class.var_name: webXmlWithErrorPages
test_class.declarator: errorPages
test_class.modifier: private
test_class.original_string: private ErrorPages errorPages;
test_class.type: ErrorPages
test_class.var_name: errorPages
test_class.file: everrest-core/src/test/java/org/everrest/core/tools/ErrorPagesTest.java
test_class.identifier: ErrorPagesTest
test_case.body: @Test
      public void containsErrorPageForSomeException() {
          assertTrue("Expected to have configured error page for org.test.SomeException", errorPages.hasErrorPage("org.test.SomeException"));
      }
test_case.class_method_signature: ErrorPagesTest.containsErrorPageForSomeException()
test_case.full_signature: @Test public void containsErrorPageForSomeException()
test_case.identifier: containsErrorPageForSomeException
test_case.invocations: assertTrue hasErrorPage
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void containsErrorPageForSomeException()
focal_class.declarator: LOG = LoggerFactory.getLogger(ErrorPages.class)
focal_class.modifier: private static final
focal_class.original_string: private static final Logger LOG = LoggerFactory.getLogger(ErrorPages.class);
focal_class.type: Logger
focal_class.var_name: LOG
focal_class.declarator: errorCodes     = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final        Map<Integer, String> errorCodes     = new HashMap<>();
focal_class.type: Map<Integer, String>
focal_class.var_name: errorCodes
focal_class.declarator: exceptionTypes = new HashMap<>()
focal_class.modifier: private final
focal_class.original_string: private final        Map<String, String>  exceptionTypes = new HashMap<>();
focal_class.type: Map<String, String>
focal_class.var_name: exceptionTypes
focal_class.file: everrest-core/src/main/java/org/everrest/core/tools/ErrorPages.java
focal_class.identifier: ErrorPages
focal_class.class_method_signature: ErrorPages.ErrorPages(ServletContext servletContext)
focal_class.full_signature: public  ErrorPages(ServletContext servletContext)
focal_class.identifier: ErrorPages
focal_class.modifiers: public
focal_class.parameters: (ServletContext servletContext)
focal_class.signature:  ErrorPages(ServletContext servletContext)
focal_class.class_method_signature: ErrorPages.hasErrorPage(int errorCode)
focal_class.full_signature: public boolean hasErrorPage(int errorCode)
focal_class.identifier: hasErrorPage
focal_class.modifiers: public
focal_class.parameters: (int errorCode)
focal_class.return: boolean
focal_class.signature: boolean hasErrorPage(int errorCode)
focal_class.class_method_signature: ErrorPages.hasErrorPage(String exceptionType)
focal_class.full_signature: public boolean hasErrorPage(String exceptionType)
focal_class.identifier: hasErrorPage
focal_class.modifiers: public
focal_class.parameters: (String exceptionType)
focal_class.return: boolean
focal_class.signature: boolean hasErrorPage(String exceptionType)
focal_class.class_method_signature: ErrorPages.hasErrorPage(Throwable exception)
focal_class.full_signature: public boolean hasErrorPage(Throwable exception)
focal_class.identifier: hasErrorPage
focal_class.modifiers: public
focal_class.parameters: (Throwable exception)
focal_class.return: boolean
focal_class.signature: boolean hasErrorPage(Throwable exception)
focal_class.class_method_signature: ErrorPages.loadErrorPages(ServletContext servletContext, Map<Integer, String> errorCodes, Map<String, String> exceptionTypes)
focal_class.full_signature: protected void loadErrorPages(ServletContext servletContext, Map<Integer, String> errorCodes, Map<String, String> exceptionTypes)
focal_class.identifier: loadErrorPages
focal_class.modifiers: protected
focal_class.parameters: (ServletContext servletContext, Map<Integer, String> errorCodes, Map<String, String> exceptionTypes)
focal_class.return: void
focal_class.signature: void loadErrorPages(ServletContext servletContext, Map<Integer, String> errorCodes, Map<String, String> exceptionTypes)
focal_class.class_method_signature: ErrorPages.createFeaturedDocumentBuilderFactory()
focal_class.full_signature: private DocumentBuilderFactory createFeaturedDocumentBuilderFactory()
focal_class.identifier: createFeaturedDocumentBuilderFactory
focal_class.modifiers: private
focal_class.parameters: ()
focal_class.return: DocumentBuilderFactory
focal_class.signature: DocumentBuilderFactory createFeaturedDocumentBuilderFactory()
focal_method.body: public boolean hasErrorPage(int errorCode) {
          return errorCodes.get(errorCode) != null;
      }
focal_method.class_method_signature: ErrorPages.hasErrorPage(int errorCode)
focal_method.full_signature: public boolean hasErrorPage(int errorCode)
focal_method.identifier: hasErrorPage
focal_method.invocations: get
focal_method.modifiers: public
focal_method.parameters: (int errorCode)
focal_method.return: boolean
focal_method.signature: boolean hasErrorPage(int errorCode)