Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError


      for (int i = playedTracks.size() - 1; i >= playedTracks.size() - num; i--) {
        tracks.add(playedTracks.get(i).getTrack());
      }
      return tracks;
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(null);
    }
  }
View Full Code Here


      for (PlayedTracksListElement playedTrack : playedTracks) {
        tracks.add(playedTrack.getTrack());
      }
      return tracks;
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(null);
    }
  }
View Full Code Here

  public void addTrack(Track track) throws JitcaTrackException, PlaylistReadOnly {
    super.getTracks().add(track);
    try {
      this.itPlaylist.addTrack(track.getITTrack());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    } catch (PlaylistReadOnlyException e) {
      throw new PlaylistReadOnly(this);
    }
  }
View Full Code Here

   */
  public void reveal() {
    try {
      this.itPlaylist.reveal();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public PlaylistFolder getParent() {
    try {
      return (PlaylistFolderImpl) super.playlistFactory.getPlaylist(this.itPlaylist.getParent());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setParent(PlaylistFolder parent) {
    try {
      this.itPlaylist.setParent(parent.getITPlaylist());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

        } else {
          return new UserPlaylistImpl(lazy, library, itPlaylist);
        }
      }
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(library);
    }
   
  }
View Full Code Here

   */
  public void reveal() {
    try {
      this.itPlaylist.reveal();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public Artist getArtist() {
    try {
      return this.source.getArtist(this.itPlaylist.getArtist());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public boolean isCompilation() {
    try {
      return this.itPlaylist.isCompilation();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

TOP

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

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.