Package com.jitcaforwin.basic.exceptions

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


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

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

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

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

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

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

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

      return new ITOperationStatusImpl(this.iTunesCom.callFunction("AddFile", file.getAbsolutePath())
          .getDispatch());
    } catch (DispatchObjectNullException e) {
      throw new JitcaFileException("Error occured during addFile. File could not be added.");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new PlaylistReadOnlyException(this);
    }

  }
View Full Code Here

      }
      return new ITOperationStatusImpl(this.iTunesCom.callFunction("AddFiles", paths).getDispatch());
    } catch (DispatchObjectNullException e) {
      throw new JitcaFileException("Error occured during addFiles. Files could not be added.");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new PlaylistDeletedException(this);
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new PlaylistReadOnlyException(this);
    }
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.basic.exceptions.PlaylistDeletedException

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.