Package com.jitcaforwin.basic.exceptions

Examples of com.jitcaforwin.basic.exceptions.TrackDeletedException


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


  public void setComposer(String composer) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("Composer", composer);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(this);
    }
  }
View Full Code Here

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

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

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

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

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

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

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

  public void setEnabled(boolean isEnabled) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("Enabled", isEnabled);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(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.