Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.ITObjectDeletedError


   */
  public File getFile() {
    try {
      return this.itTrack.getLocation();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here


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

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

    try {
      this.itTrack.setExcludeFromShuffle(isExcludeFromShuffle);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }

  }
View Full Code Here

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

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

  @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

TOP

Related Classes of com.jitcaforwin.extended.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.