determine whether the given rmi exception indicates a connect failure . treats rmi 's connectexception , connectioexception , unknownhostexception , nosuchobjectexception and stubnotfoundexception as connect failure . concode_field_sep Log logger concode_field_sep boolean isCorbaConnectFailure concode_elem_sep Exception convertRmiAccessException concode_elem_sep Exception convertRmiAccessException concode_elem_sep Exception convertRmiAccessException concode_elem_sep Object invokeRemoteMethod
boolean function ( RemoteException arg0 ) { return ( arg0 instanceof ConnectException || arg0 instanceof ConnectIOException || arg0 instanceof UnknownHostException || arg0 instanceof NoSuchObjectException || arg0 instanceof StubNotFoundException || arg0 . getCause ( ) instanceof SocketException || isCorbaConnectFailure ( arg0 . getCause ( ) ) ) ; }