Package com.jitcaforwin.basic.api.exceptions

Examples of com.jitcaforwin.basic.api.exceptions.TrackDeletedException


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


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

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

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

  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

TOP

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