title: In an interface what should I use a try-catch or throws for each method?
body: <pre><code>public interface RMIInterface extends Remote {
      public byte[] geScreen() throws RemoteException;
      public byte[] getProcessList() throws RemoteException;
      public boolean execute(String command) throws RemoteException;
      public boolean messageTo(String msg,String user) throws RemoteException;
      public boolean saveImage(byte[] image,String user) throws RemoteException;
      public byte[][] getimages(String user,String date)throws RemoteException;
  }
  </code></pre>
  
  <p>The above RMI interface methods throws RemoteException, is it ok if I enclose these methods in a try, and catch the RemoteException.</p>