Package org.dspace.app.xmlui.utils

Examples of org.dspace.app.xmlui.utils.UIException


        // Add the result division
        try {
            buildSearchResultsDivision(search);
        } catch (SearchServiceException e) {
            throw new UIException(e.getMessage(), e);
        }

    }
View Full Code Here


                parameters.setParameter("step", currentStepAndPage.toString());
                stepUIClass.setup(resolver, objectModel, src, parameters);
            }
            catch(Exception e)
            {
                throw new UIException("Unable to initialize AbstractStep identified by "
                                        + stepConfig.getXMLUIClassName() + ":", e);
            }
           
            //If this stepUIClass is not a value AbstractSubmissionStep,
            //we will be unable to display its review information!
View Full Code Here

                        .newInstance();
        }
        catch(ClassNotFoundException cnfe)
        {
            //means that we couldn't find a class by the given name
            throw new UIException("Class Not Found: " + transformerClassName, cnfe);
        }
        catch(Exception e)
        {
            //means we couldn't instantiate the class as an AbstractStep
            throw new UIException("Unable to instantiate class " + transformerClassName + ". " +
                                          "Please make sure it extends org.dspace.app.xmlui.submission.AbstractSubmissionStep!", e);
        }
    }
View Full Code Here

    // Grab the person in question
    EPerson eperson = EPerson.find(context, epersonID);
   
    if (eperson == null)
        {
            throw new UIException("Unable to find eperson for id:" + epersonID);
        }
   
    String emailValue = eperson.getEmail();
    String firstValue = eperson.getFirstName();
    String lastValue  = eperson.getLastName();
View Full Code Here

                Report myRep = new XMLUIReport(div);
                ReportGenerator.processReport(context, myRep, analysisFile.getCanonicalPath());
            }
            catch (Exception e)
            {
                throw new UIException(e);
            }
        }
        else
        {
            div.setHead(T_empty_title);
View Full Code Here

TOP

Related Classes of org.dspace.app.xmlui.utils.UIException

Copyright © 2018 www.massapicom. 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.