code: public List<ErrorPageType<WebAppDescriptor>> getAllErrorPage()
     {
        List<ErrorPageType<WebAppDescriptor>> list = new ArrayList<ErrorPageType<WebAppDescriptor>>();
        List<Node> nodeList = model.get("error-page");
        for(Node node: nodeList)
        {
           ErrorPageType<WebAppDescriptor>  type = new ErrorPageTypeImpl<WebAppDescriptor>(this, "error-page", model, node);
           list.add(type);
        }
        return list;
     }
docs: Returns all <code>error-page</code> elements
  @return list of <code>error-page</code>