Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError


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


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

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

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

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

   */
  protected void loadTracks() {
    try {
      this.tracks = new TrackCollection(this.source, this.itPlaylist.getTracks());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

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

   */
  public String getName() {
    try {
      return this.itPlaylist.getName();
    } catch (ObjectDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setName(String name) throws PlaylistReadOnly {
    try {
      this.itPlaylist.setName(name);
    } catch (ObjectDeletedException e) {
      throw new ITObjectDeletedError(this);
    } catch (ObjectLockedException e) {
      throw new PlaylistReadOnly(this);
    }
  }
View Full Code Here

   */
  public boolean isShuffle() {
    try {
      return this.itPlaylist.isShuffle();
    } 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.