public virtual bool isReloginException(BClient client, Exception ex, int typeId) { if (typeId == BRequest_IXServicePortIF_sendEvents.serialVersionUID || typeId == BRequest_IXServicePortIF_createEventBusListener.serialVersionUID) { return(false); } if (client.getTransport().isReloginException(ex, BRegistry.TYPEID_VOID)) { return(true); } String msg = ex.ToString(); for (int i = 0; i < RELOGIN_ERRORS.Length; i++) { if (msg.IndexOf(RELOGIN_ERRORS[i]) >= 0) { return(true); } } return(false); }
public static void checkTempDirEmpty(BClient client) { log.info("check temp dir is empty"); String[] tempFiles = client.getTransport().getWire().getTestAdapter().getServerTempFiles(); TestUtils.assertEquals(log, "temp files", new String[0], tempFiles); }
public bool isReloginException(BClient client, Exception ex, int typeId) { return(client.getTransport().isReloginException(ex, typeId)); }