Package com.jitcaforwin.basic.exceptions

Examples of com.jitcaforwin.basic.exceptions.TrackDeletedException


  public void setBookmarkTime(long bookmarkTime) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("BookmarkTime", bookmarkTime);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(this);
    }
  }
View Full Code Here


  public ITVideoKind getVideoKind() throws TrackDeletedException {
    try {
      return new ITVideoKind(this.iTunesCom.getPropertyAsEnum("VideoKind"));
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    }
  }
View Full Code Here

  public void setVideoKind(ITVideoKind videoKind) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("VideoKind", videoKind.getValue());
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(this);
    }
  }
View Full Code Here

  public long getSkippedCount() throws TrackDeletedException {
    try {
      return this.iTunesCom.getPropertyAsLong("SkippedCount");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    }
  }
View Full Code Here

  public void setSkippedCount(long skippedCount) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("SkippedCount", skippedCount);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(this);
    }
  }
View Full Code Here

  public JitcaDate getSkippedDate() throws TrackDeletedException {
    try {
      return this.iTunesCom.getPropertyAsDate("SkippedDate");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    }
  }
View Full Code Here

  public void setSkippedDate(JitcaDate skippedDate) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("SkippedDate", skippedDate);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(this);
    }
  }
View Full Code Here

  public boolean isPartOfGaplessAlbum() throws TrackDeletedException {
    try {
      return this.iTunesCom.getPropertyAsBoolean("PartOfGaplessAlbum");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    }
  }
View Full Code Here

  public void setPartOfGaplessAlbum(boolean shouldBePartOfGaplessAlbum) throws TrackDeletedException,
      TrackLockedException {
    try {
      this.iTunesCom.setProperty("PartOfGaplessAlbum", shouldBePartOfGaplessAlbum);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(this);
    }
  }
View Full Code Here

  public String getAlbumArtist() throws TrackDeletedException {
    try {
      return this.iTunesCom.getPropertyAsString("AlbumArtist");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    }
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.basic.exceptions.TrackDeletedException

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.