Examples of ErrorReportPage


Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

      getUpdatePanel().addToModel(homepage);
    } catch (SimalException e) {
      UserReportableException error = new UserReportableException(
          "Unable to generate a website from the given form data",
          ProjectDetailPage.class, e);
      setResponsePage(new ErrorReportPage(error));
    }
  }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

        add(sourceRepositoriesPanel);
      } catch (SimalRepositoryException e) {
        UserReportableException error = new UserReportableException(
            "Unable to get project releases from the repository",
            ExhibitProjectBrowserPage.class, e);
        setResponsePage(new ErrorReportPage(error));
      }
     
     
//      this.screenshots = project.getScreenshots();
      DocumentSetPanel screenshotsListPanel = new DocumentSetPanel("screenshotsList",
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

          e.getCause().getClass() == SAXParseException.class) {
        logger.warn("No valid doap found, msg: " + e.getMessage() + "; doap: " + doap, e);
        Session.get().error("No valid DOAP file found at the provided URL.");
      } else {
        logger.warn("Unable to create a project from the following doap: " + doap);
        setResponsePage(new ErrorReportPage(new UserReportableException(
            "Unable to add doap using RDF supplied", DoapFormPage.class, e)));
      }
    }
  }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

          try {
            StringWriter xmlSourceWriter = new StringWriter();
            IOUtils.copy(upload.getInputStream(), xmlSourceWriter);
            processSubmittedDoap(xmlSourceWriter.toString());
          } catch (IOException e) {
            setResponsePage(new ErrorReportPage(new UserReportableException(
                "Unable to add doap using RDF supplied", DoapFormPage.class, e)));
          }
        }
      }
    }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

        } catch (FileNotFoundException e) {
          // Invalid URL
          Session.get().error(invalidUrlMsg);
          logger.warn("Error processing URL: " + invalidUrlMsg);
        } catch (IOException e) {
          setResponsePage(new ErrorReportPage(new UserReportableException(
              "Unable to add doap using RDF supplied", DoapFormPage.class, e)));
          logger.warn("Error processing URL: " + url + "; " + e.getMessage(), e);
        }
      }
    }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

            + inputModel.getSourceForgeId();
        processAddByURLSubmit(url, invalidUrlMsg);
      } catch (MalformedURLException e) {
        // This should be unreachable since we're constructing this URL.
        logger.error("Unexpected malformed URL: " + e.getMessage(), e);
        setResponsePage(new ErrorReportPage(new UserReportableException(
            "Unable to add doap using RDF supplied", DoapFormPage.class, e)));
      }
    }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

    public ExceptionDetailLink(UserReportableException exception) {
      this.exception = exception;
    }

    public Page getPage() {
      return new ErrorReportPage(exception);
    }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

      }
    } catch (SimalException e) {
      UserReportableException error = new UserReportableException(
          "Unable to generate a category from the given form data",
          ProjectDetailPage.class, e);
      setResponsePage(new ErrorReportPage(error));
    }
  }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

          add(new ProjectListPanel("projectList", 15));
        } catch (SimalRepositoryException e) {
          UserReportableException error = new UserReportableException(
              "Unable to get projects from the repository",
              PersonBrowserPage.class, e);
          setResponsePage(new ErrorReportPage(error));
        }
  }
View Full Code Here

Examples of uk.ac.osswatch.simal.wicket.ErrorReportPage

          add(new ProjectListPanel("projectList", projects, 15));
        } catch (SimalRepositoryException e) {
          UserReportableException error = new UserReportableException(
              "Unable to get projects from the repository",
              PersonBrowserPage.class, e);
          setResponsePage(new ErrorReportPage(error));
        }
  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.