Package com.jitcaforwin.extended.api.exceptions

Examples of com.jitcaforwin.extended.api.exceptions.ITObjectDeletedError


  @Override
  public boolean isUnplayed() {
    try {
      return this.itTrack.isUnplayed();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here


    try {
      this.itTrack.setUnplayed(isUnplayed);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  public void refresh() {
    super.refresh();
    try {
      this.itTrack.updateInfoFromFile();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public boolean rememberBookmark() {
    try {
      return this.itTrack.isRememberBookmark();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

    try {
      this.itTrack.setRememberBookmark(shouldRememberBookmark);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public long getBookmark() {
    try {
      return this.itTrack.getBookmarkTime();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

    try {
      this.itTrack.setBookmarkTime(bookmarkTime);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public int getSkippedCount() {
    try {
      return (int) this.itTrack.getSkippedCount();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

    try {
      this.itTrack.setSkippedCount(skipped);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public String getLyrics() {
    try {
      return this.itTrack.getLyrics();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

TOP

Related Classes of com.jitcaforwin.extended.api.exceptions.ITObjectDeletedError

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.