Package com.jitcaforwin.extended.api.exceptions

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


   */
  public String getEpisodeID() {
    try {
      return this.itVideo.getEpisodeID();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here


    try {
      this.itVideo.setEpisodeID(episodeID);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public long getEpisodeNumber() {
    try {
      return this.itVideo.getEpisodeNumber();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

    try {
      this.itVideo.setEpisodeNumber(episodeNumber);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public boolean isMovie() {
    try {
      return this.itVideo.getVideoKind().is(ITVideoKind.Movie());
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public boolean isMusicVideo() {
    try {
      return this.itVideo.getVideoKind().is(ITVideoKind.MusicVideo());
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public boolean isTVShow() {
    try {
      return this.itVideo.getVideoKind().is(ITVideoKind.TVShow());
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public String getTitle(){
    try {
      return this.itTrack.getSortName();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(track);
    }
  }
View Full Code Here

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

   */
  public String getArtist(){
    try {
      return this.itTrack.getSortArtist();
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(track);
    }
  }
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.