Package com.jitcaforwin.basic.exceptions

Examples of com.jitcaforwin.basic.exceptions.TrackDeletedException


      return new ITArtworkCollectionImpl(this.iTunesCom.getPropertyAsDispatchObject("Artwork"));
    } catch (DispatchObjectNullException e) {
      return null; // No artwork available.

    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(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

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