Package org.dspace.app.xmlui.utils

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


                params.scope.setStartsWith(startsWith);
            }
        }
        catch (BrowseException bex)
        {
            throw new UIException("Unable to create browse parameters", bex);
        }

        this.userParams = params;
        return params;
    }
View Full Code Here


                this.browseInfo.setEtAl(params.etAl);
            }
        }
        catch (BrowseException bex)
        {
            throw new UIException("Unable to process browse", bex);
        }

        return this.browseInfo;
    }
View Full Code Here

                      IndexBrowse ib = new IndexBrowse(context);
                      ib.indexItem(item);
                    }
                    catch (BrowseException bex)
                    {
                      throw new UIException("Unable to process browse", bex);
                    }
                }
            }
        }
   
View Full Code Here

                      IndexBrowse ib = new IndexBrowse(context);
                      ib.indexItem(item);
                    }
                    catch (BrowseException bex)
                    {
                      throw new UIException("Unable to process browse", bex);
                    }
                }
            }
        }
   
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();
    String phoneValue = eperson.getMetadata("phone");
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

        {
            newName = URLDecoder.decode(newName, Constants.DEFAULT_ENCODING);
        }
        catch (UnsupportedEncodingException uee)
        {
            throw new UIException(uee);
        }
   
    Group group = null;
    if (groupID == -1)
    {
View Full Code Here

            if (collection == null)
                collection = "-1";
        }
        catch (org.apache.avalon.framework.parameters.ParameterException e)
        {
            throw new UIException("Missing a required parameter",e);
        }

        Division idiv = body.addInteractiveDivision("lookup", "", "get", "popup");
        if (isFieldMessage(field, "title"))
            idiv.setHead(getFieldMessage(field, "title"));
View Full Code Here

                parameters.setParameter("step", Double.toString(currentStepAndPage));
                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

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.