Package com.jitcaforwin.basic.api.exceptions

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


  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

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

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

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

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

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

  public void setGenre(String genre) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("Genre", genre);
    } 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.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.