Package com.jitcaforwin.basic.exceptions

Examples of com.jitcaforwin.basic.exceptions.TrackDeletedException


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


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

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

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

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

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

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

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

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

  public long getStart() throws TrackDeletedException {
    try {
      return this.iTunesCom.getPropertyAsLong("Start");
    } 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.