Package com.jitcaforwin.basic.api.exceptions

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


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


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

  public void updateInfoFromFile() throws TrackDeletedException {
    try {
      this.iTunesCom.callProcedure("UpdateInfoFromFile");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    }
  }
View Full Code Here

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

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

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

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

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

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

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