InputStream in = null;
try {
try {
OutputStream out = _request("create", true);
in = (InputStream)_invoke(out);
return (CatalogEJBRemote) in.read_Object(CatalogEJBRemote.class);
} catch (ApplicationException ex) {
in = (InputStream) ex.getInputStream();
String id = in.read_string();
if (id.equals("IDL:javax/ejb/CreateEx:1.0")) {
throw (CreateException) in.read_value(CreateException.class);