Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError


    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 long getBookmark() {
    try {
      return this.itTrack.getBookmarkTime();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

    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.delete();
      this.itArtwork = null;
      this.track = null;
    } catch (ArtworkDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public String getFormat() {
    try {
      return this.itArtwork.getFormat().toString();
    } catch (ArtworkDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public boolean isDownloadedArtwork() {
    try {
      return this.itArtwork.isDownloadedArtwork();
    } catch (ArtworkDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public String getDescription() {
    try {
      return this.itArtwork.getDescription();
    } catch (ArtworkDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setDescription(String description) throws ObjectReadOnly {
    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 reveal() {
    try {
      this.itTrack.reveal();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public boolean isPodcast() {
    try {
      return this.itTrack.isPodcast();
    } catch (TrackDeletedException 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.