Examples of PlaylistDeletedException


Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  public IITPlaylist createFolder(String folderName) throws PlaylistDeletedException {
    try {
      return ITPlaylistImpl.newIITPlaylist(this.iTunesCom.callFunction("CreateFolder", folderName).getDispatch());
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  public void reveal() throws PlaylistDeletedException {
    try {
      this.iTunesCom.callProcedure("Reveal");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  public IITTrack item(long index) throws PlaylistDeletedException {
    try {
      DispatchObject dispatch = super.itemDispatchObject(index);
      return ITTrackImpl.create(dispatch);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException();
    } catch (ObjectDeletedException e) {
      throw new PlaylistDeletedException();
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  public IITTrack itemByName(String name) throws PlaylistDeletedException {
    try {
      DispatchObject dispatch = super.itemByNameDispatchObject(name);
      return ITTrackImpl.create(dispatch);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException();
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  public IITTrack itemByPersistentID(long highID, long lowID) throws PlaylistDeletedException {
    try {
      DispatchObject dispatch = super.itemByPersistentIDDispatchObject(highID, lowID);
      return ITTrackImpl.create(dispatch);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException();
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  public IITTrack itemByPlayOrder(long index) throws PlaylistDeletedException {
    try {
      DispatchObject dispatch = this.iTunesCom.callFunction("ItemByPlayOrder", index).getDispatch();
      return ITTrackImpl.create(dispatch);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException();
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  public void delete() throws PlaylistDeletedException {
    try {
      this.iTunesCom.callProcedure("Delete");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

  // TESTTODO
  public void playFirstTrack() throws PlaylistDeletedException {
    try {
      this.iTunesCom.callProcedure("PlayFirstTrack");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

      params[0] = showPrintDialog;
      params[1] = printKind.getValue();
      params[3] = theme;
      this.iTunesCom.callProcedure("Print", params);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    } catch (ITUNES_E_USERCANCEL e) {
      throw new UserCancelException();
    }
  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

      params[1] = searchFields.getValue();
      return new ITTrackCollectionImpl(this.iTunesCom.callFunction("Search", params).getDispatch());
    } catch (DispatchObjectNullException e) {
      return null; // no results found
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    }

  }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.