Package com.jitcaforwin.extended.api.exceptions

Examples of com.jitcaforwin.extended.api.exceptions.TrackReadOnly


  @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

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

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

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

   */
  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

TOP

Related Classes of com.jitcaforwin.extended.api.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.