Package com.jitcaforwin.basic.exceptions

Examples of com.jitcaforwin.basic.exceptions.TrackDeletedException


  public void setAlbum(String album) throws TrackDeletedException, TrackLockedException {
    try {
      this.iTunesCom.setProperty("Album", album);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new TrackDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new TrackLockedException(this);
    }

  }
View Full Code Here


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

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

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

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

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

  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

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.