package com.google.tagpost.spanner;
import com.google.tagpost.Comment;
import com.google.tagpost.Thread;

import java.util.List;

public interface DataService {

  List<Thread> getAllThreadsByTag(String tag);

  Thread addNewThreadWithTag(Thread thread) throws DataException;

  List<Comment> getAllCommentsByThreadId(String threadId);

  Comment addNewCommentUnderThread(Comment comment) throws DataException;
}

@@ -246,37 +246,16 @@
  thread)
- throws DataException
 ;%0A%0A  Lis
@@ -364,29 +364,8 @@
 ent)
- throws DataException
 ;%0A%7D%0A

delete unchecked exception from method signature