Alguem sabe do porque desse erro ?
ProdutoImplementacao.java:4: unreported
exception java.rmi.RemoteException; must
be caught or declared to be thrown public class ProdutoImplementacao extends UnicastRemoteObject implements Produto { ^ 1 error o codigo fonte esta abaixo :
import java.rmi.server.*;
import java.rmi.*; public class ProdutoImplementacao extends
UnicastRemoteObject implements Produto {
String istNome =
"Andre";
int iintIdade = 22; public String getNome() throws
RemoteException {
return istNome; } public int getIdade() throws RemoteException { return iintIdade; } }
|
- [java-list] RMI Kleber Bueno
- [java-list] RMI Laercio Carpes
- Re: [java-list] RMI Leonardo Simberg
- RES: [java-list] RMI Daniel Vieira Viveiros
- Re: [java-list] RMI Alexandre Torres
- [java-list] RMI Laercio Carpes
- Re: [java-list] RMI Leonardo Simberg
- Re: [java-list] RMI Alexandre Torres
- Re: [java-list] RMI André Luís Moser
- Re: [java-list] RMI John Tau
- Re: [java-list] RMI Rogerio Tambellini
- Re: [java-list] RMI hooter
- [java-list] RMI Glécio Nicoletti Jr
- Re: [java-list] RMI Sven van ´t Veer
- [java-list] RMI Ary Junior
- [java-list] RMI Rodrigo Strazza Bortoloto
- Re: [java-list] RMI Renato Weiner
- Re: [java-list] RMI Eduardo da Fonseca Frazao
- [java-list] RMI Lincoln Masao Muraoka Junior