Package com.jitcaforwin.extended.exceptions

Examples of com.jitcaforwin.extended.exceptions.TrackReadOnly


  @Override
  public void setCategory(String category) throws TrackReadOnly {
    try {
      this.itTrack.setCategory(category);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here


  @Override
  public void setDescription(String description) throws TrackReadOnly {
    try {
      this.itTrack.setDescription(description);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public void setLongDescription(String longDescription) throws TrackReadOnly {
    try {
      this.itTrack.setLongDescription(longDescription);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

  @Override
  public void setAlbumRating(long albumRating) throws TrackReadOnly {
    try {
      this.itTrack.setAlbumRating(albumRating);
    } catch (TrackLockedException e) {
      throw new TrackReadOnly(this);
    } catch (TrackDeletedException e) {
      throw new ITObjectDeletedError(this);
    }
  }
View Full Code Here

      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

TOP

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