Skip to content
Snippets Groups Projects
Commit e4c597ac authored by kaloyane's avatar kaloyane
Browse files

minor: SerializationException should not be caused by server upgrade. It can...

minor: SerializationException should not be caused by server upgrade. It can happen during development e.g. when the serialized object does not have no-args constructor

SVN: 22150
parent 67a75b3a
No related branches found
No related tags found
No related merge requests found
......@@ -26,7 +26,6 @@ import com.extjs.gxt.ui.client.widget.MessageBox;
import com.google.gwt.user.client.rpc.AsyncCallback;
import com.google.gwt.user.client.rpc.IncompatibleRemoteServiceException;
import com.google.gwt.user.client.rpc.InvocationException;
import com.google.gwt.user.client.rpc.SerializationException;
import ch.systemsx.cisd.common.shared.basic.utils.StringUtils;
import ch.systemsx.cisd.openbis.generic.client.web.client.application.util.GWTUtils;
......@@ -253,8 +252,7 @@ public abstract class AbstractAsyncCallback<T> implements AsyncCallback<T>
private boolean isIncompatibleServerException(final Throwable caught)
{
return caught instanceof SerializationException
|| caught instanceof IncompatibleRemoteServiceException;
return caught instanceof IncompatibleRemoteServiceException;
}
private String getMessage(String messageKey, Object... params)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment