Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.PlaylistException


   * @throws JitcaException if an error occurs.
   */
  private PlaylistFolder createFolder(IITPlaylist folder) throws JitcaException {
    Playlist newFolder = this.createPlaylist(folder);
    if (!newFolder.isPlaylistFolder()) {
      throw new PlaylistException("Problem occured during creation of new folder \"" + folder.getName() + "\" ");
    }
    return (PlaylistFolderImpl) newFolder;
  }
View Full Code Here


   * @throws JitcaException if an error occurs.
   */
  private UserPlaylist createUserPlaylist(IITPlaylist playlist) throws JitcaException {
    Playlist newPlaylist = this.createPlaylist(playlist);
    if (!newPlaylist.isUserPlaylist()) {
      throw new PlaylistException("Problem occured during creation of new playlist \"" + playlist.getName() + "\" ");
    }
    return (UserPlaylistImpl) newPlaylist;
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.extended.exceptions.PlaylistException

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.