Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.TrackReadOnly


   */
  public void setURL(String url) throws TrackReadOnly {
    try {
      this.itTrack.setURL(url);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here


  @Override
  public void setSkipped(int skipped) throws TrackReadOnly {
    try {
      this.itTrack.setSkippedCount(skipped);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public void setLyrics(String lyrics) throws TrackReadOnly {
    try {
      this.itTrack.setLycrics(lyrics);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setFile(File newFile) throws TrackReadOnly, JitcaFileNotFoundException {
    try {
      this.itTrack.setLocation(newFile);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
    this.refresh();
  }
View Full Code Here

  @Override
  public void setExcludeFromShuffle(boolean isExcludeFromShuffle) throws TrackReadOnly {
    try {
      this.itTrack.setExcludeFromShuffle(isExcludeFromShuffle);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }

  }
View Full Code Here

  @Override
  public void setPartOfGaplessAlbum(boolean isPartOfGaplessAlbum) throws TrackReadOnly {
    try {
      this.itTrack.setPartOfGaplessAlbum(isPartOfGaplessAlbum);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public void setUnplayed(boolean isUnplayed) throws TrackReadOnly {
    try {
      this.itTrack.setUnplayed(isUnplayed);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public void setRememberBookmark(boolean shouldRememberBookmark) throws TrackReadOnly {
    try {
      this.itTrack.setRememberBookmark(shouldRememberBookmark);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public void setBookmark(long bookmarkTime) throws TrackReadOnly {
    try {
      this.itTrack.setBookmarkTime(bookmarkTime);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

    try {
      this.itArtwork.setDescription(description);
    } catch (ArtworkDeletedException e) {
      throw new ITObjectDeletedError(this);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this.track);
    }
  }
View Full Code Here

TOP

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

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.