Package com.jitcaforwin.basic.api.exceptions

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


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


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

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

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

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

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

    if (!location.exists())
      throw new JitcaFileNotFoundException(location);
    try {
      this.iTunesCom.setProperty("Location", location.getAbsolutePath());
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    }
  }
View Full Code Here

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

    try {
      return new ITArtworkImpl(this.itemDispatchObject(index));
    } catch (DispatchObjectNullException e) {
      return null;
    } catch (ITUNES_E_OBJECTDELETED e){
      throw new TrackDeletedException();
    } catch (ObjectDeletedException e) {
      throw new TrackDeletedException();
    }
  }
View Full Code Here

  public JitcaDate getPlayedDate() throws TrackDeletedException {
    try {
      return this.iTunesCom.getPropertyAsDate("PlayedDate");
    } 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.