mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
IDEA-116383 cannot reconnect
Some RuntimeException contains not serializable class 'org.apache.maven.model.building.DefaultModelProblem'. So IDEA throw java.rmi.UnmarshalException caused by java.io.NotSerializableException.
This commit is contained in:
-1
@@ -420,7 +420,6 @@ public class Maven3ServerEmbedderImpl extends MavenRemoteObject implements Maven
|
||||
}
|
||||
|
||||
private static MavenExecutionResult handleException(Throwable e) {
|
||||
if (e instanceof RuntimeException) throw (RuntimeException) e;
|
||||
if (e instanceof Error) throw (Error) e;
|
||||
|
||||
return new MavenExecutionResult(null, Collections.singletonList((Exception) e));
|
||||
|
||||
Reference in New Issue
Block a user