O código abaixo:
public Biblio.Livro pegaLivro(String isbn)
throws Biblio.LivroInexistente
{
LivroImpl temp = new LivroImpl();
int i;
for(i=0;i<=livros.size();i++) {
temp = (LivroImpl)livros.elementAt(i);
if( temp.isbn() == isbn )
break;
else if( i == livros.size() )
throw new LivroInexistente(isbn);
}
return temp._this();
}
está retornando a seguinte erro:
org.omg.CORBA.BAD_INV_ORDER: The Servant has not been associated with
an ORBinstance
Alguém tem alguma dica?
|