Examples of EQPresetDeletedException


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

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

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

      Object[] params = new Object[2];
      params[0] = newName;
      params[1] = updateAllTracks;
      this.iTunesCom.callProcedure("Rename", params);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new EQPresetDeletedException(this);
    } catch (ITUNES_E_OBJECTEXISTS e) {
      throw new ObjectExists("An EQ preset with the name \" " + newName + "\" already exists.");
    } catch (ITUNES_E_OBJECTLOCKED e) {
      throw new JitcaGeneralException("This is the Manual EQ preset, which cannot be renamed.");
    }
View Full Code Here

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

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

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

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

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

  public double getPreamp() throws EQPresetDeletedException {
    try {
      return this.iTunesCom.getPropertyAsDouble("Preamp");
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new EQPresetDeletedException(this);
    }
  }
View Full Code Here

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

  public void setPreamp(double level) throws EQPresetDeletedException {
    try {
      this.iTunesCom.setProperty("Preamp", level);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new EQPresetDeletedException(this);
    }
  }
View Full Code Here

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

  public double getBand(int index) throws EQPresetDeletedException {
    try {
      return this.iTunesCom.getPropertyAsDouble(this.propertyNameForBand(index));
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new EQPresetDeletedException(this);
    }
  }
View Full Code Here

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

  public void setBand(int index, double level) throws EQPresetDeletedException {
    try {
      this.iTunesCom.setProperty(this.propertyNameForBand(index), level);
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new EQPresetDeletedException(this);
    }
  }
View Full Code Here

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

  // TestTODO
  public void setCurrentEQPreset(IITEQPreset eqPreset) throws EQPresetDeletedException {
    try {
      this.iTunesCom.setProperty("CurrentEQPreset", eqPreset.getDispatchObject());
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new EQPresetDeletedException(eqPreset);
    }

  }
View Full Code Here

Examples of com.jitcaforwin.basic.exceptions.EQPresetDeletedException

  // TestTODO
  public void setCurrentEQPreset(IITEQPreset eqPreset) throws EQPresetDeletedException {
    try {
      this.iTunesCom.setProperty("CurrentEQPreset", eqPreset.getDispatchObject());
    } catch (ITUNES_E_OBJECTDELETED e) {
      throw new EQPresetDeletedException(eqPreset);
    }

  }
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.