Package com.jitcaforwin.extended.api.exceptions

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


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


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

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

  public long getSize() {
    try {
      return this.itTrack.getSize();
      // todo handle high sizes
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }

  }
View Full Code Here

   */
  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

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.