Examples of ITObjectDeletedError


Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public long getDiscCount() {
    try {
      return this.itPlaylist.getDiscCount();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public long getDiscNumber() {
    try {
      return this.itPlaylist.getDiscNumber();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public Genre getGenre() {
    try {
      return this.source.getGenre(this.itPlaylist.getGenre());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public long getYear() {
    try {
      return this.itPlaylist.getYear();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  protected void loadTracks() {
    try {
      this.tracks = new TrackCollection(this.source, this.itPlaylist.getTracks());
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public void play() {
    try {
      this.itPlaylist.playFirstTrack();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public String getName() {
    try {
      return this.itPlaylist.getName();
    } catch (ObjectDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public void setName(String name) throws PlaylistReadOnly {
    try {
      this.itPlaylist.setName(name);
    } catch (ObjectDeletedException e) {
      throw new ITObjectDeletedError(this);
    } catch (ObjectLockedException e) {
      throw new PlaylistReadOnly(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public boolean isShuffle() {
    try {
      return this.itPlaylist.isShuffle();
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError

   */
  public void setShuffle(boolean shuffle) throws PlaylistException {
    try {
      this.itPlaylist.setShuffle(shuffle);
    } catch (PlaylistDeletedException e) {
      throw new ITObjectDeletedError(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.