Package com.jitcaforwin.extended.api.exceptions

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


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


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

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

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

  public void setTitle(String title) throws TrackReadOnly {
    try {
      this.title = title;
      this.itTrack.setName(title);
    } catch (ObjectDeletedException e) {
      throw new ITObjectDeletedError(this);
    } catch (ObjectLockedException e) {
      throw new TrackReadOnly(this);
    }
  }
View Full Code Here

      this.album = album;
      this.itTrack.setAlbum(album.getName());
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

      this.artist = artist;
      this.itTrack.setAlbum(artist.getName());
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

      this.composer = composer;
      this.itTrack.setComposer(composer.getName());
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

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

   */
  public String getComment() {
    try {
      return this.itTrack.getComment();
    } 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.