Package com.jitcaforwin.extended.api.exceptions

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


      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


    try {
      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

    try {
      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

    try {
      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

  public void setGenre(Genre genre) throws TrackReadOnly {
    this.genre = genre;
    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 void setComment(String comment) throws TrackReadOnly {
    try {
      this.itTrack.setComment(comment);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setGrouping(String grouping) throws TrackReadOnly {
    try {
      this.itTrack.setGrouping(grouping);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setYear(int year) throws TrackReadOnly {
    try {
      this.itTrack.setYear(year);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setPlayedCount(int played) throws TrackReadOnly {
    try {
      this.itTrack.setPlayedCount(played);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

   */
  public void setBpm(long bpm) throws TrackReadOnly {
    try {
      this.itTrack.setBPM(bpm);
    } 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.TrackReadOnly

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.