Package org.jasig.portal

Examples of org.jasig.portal.PortalException


   
    public String getNextNodeId(IPerson person) throws PortalException {
     try
      return getNextStructId(person,"");
     } catch ( Exception e ) {
        throw new PortalException(e);
     }
    }
View Full Code Here


        {
            ID = getDLS().getNextStructDirectiveId( person );
        }
        catch (Exception e)
        {
            throw new PortalException( "Exception encountered while " +
                                       "generating new position set node " +
                                       "Id for userId=" + person.getID(),e );
        }
        Document plf = plfParent.getOwnerDocument();
        Element positions = plf.createElement( Constants.ELM_POSITION_SET );
View Full Code Here

        {
            ID = getDLS().getNextStructDirectiveId( person );
        }
        catch (Exception e)
        {
            throw new PortalException( "Exception encountered while " +
                                       "generating new position node " +
                                       "Id for userId=" + person.getID(), e );
        }
        Document plf = positions.getOwnerDocument();
        Element position = plf.createElement( Constants.ELM_POSITION );
View Full Code Here

        final PrintWriter writer;
        try {
            writer = response.getWriter();
        }
        catch (IOException e) {
            throw new PortalException("Failed to access PrintWriter on response to initiate rendering");
        }

        this.renderCharacters(writer);
    }
View Full Code Here

    {
        final INavigationModel model = getNavModel();
        if (model != null)
            model.setStaticData(sd);
        else
            throw new PortalException("No implementation available due to " +
                    "the following problem.", INSTANTIATION_PROBLEM);
    }
View Full Code Here

        {
            ID = getDLS().getNextStructDirectiveId( person );
        }
        catch (Exception e)
        {
            throw new PortalException( "Exception encountered while " +
                                       "generating new delete set node " +
                                       "Id for userId=" + person.getID(), e );
        }
        Element delSet = plf.createElement( Constants.ELM_DELETE_SET );
        delSet.setAttribute( Constants.ATT_TYPE,
View Full Code Here

        {
            ID = getDLS().getNextStructDirectiveId( person );
        }
        catch (Exception e)
        {
            throw new PortalException( "Exception encountered while " +
                                       "generating new delete node " +
                                       "Id for userId=" + person.getID(), e );
        }
        Element delete = plf.createElement( Constants.ELM_DELETE );
        delete.setAttribute( Constants.ATT_TYPE, Constants.ELM_DELETE );
View Full Code Here

                      editedProfile=newProfile;
                      instantiateManagePreferencesState(editedProfile);
                  }
              }
            } catch (Exception e) {
                throw new PortalException(e);
            }
          }

          if(editedProfile==null) {
              editedProfile = up.getProfile();
View Full Code Here

  public void renderXML (ContentHandler out) throws PortalException {

      RuntimeException runtimeException =
          new RuntimeException("Deepest exception is a RuntimeException.");
      PortalException portalException =
          new PortalException("Middle exception is a PortalException.",
                  runtimeException);
      PortalException outerException =
          new PortalException("Outer exception is also a PortalException",
                  portalException);
      throw outerException;
  }
View Full Code Here

                else
                    plfID = uls.generateNewFolderId( person );
            }
            catch (Exception e)
            {
                throw new PortalException( "Exception encountered while " +
                                           "generating new user layout node " +
                                           "Id for userId=" + person.getID(), e );
            }
               
            plfNode.setAttributeNS( Constants.NS_URI,
View Full Code Here

TOP

Related Classes of org.jasig.portal.PortalException

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.