Give an explanation in case of ServerAlreadyBootingException (#6353)

Give and explanation in case of ServerAlreadyBootingException
This commit is contained in:
Ondra Pelech
2021-03-04 23:21:42 -05:00
committed by GitHub
parent 5f24664c0d
commit 81457e60ec
3 changed files with 13 additions and 4 deletions
@@ -345,7 +345,7 @@ public class BootServerSocket implements AutoCloseable {
: new UnixDomainServerSocket(name, jni);
return socket;
} catch (final IOException e) {
throw new ServerAlreadyBootingException();
throw new ServerAlreadyBootingException(e);
}
}
@@ -7,4 +7,11 @@
package sbt.internal;
public class ServerAlreadyBootingException extends Exception {}
import java.io.IOException;
public class ServerAlreadyBootingException extends Exception {
public ServerAlreadyBootingException(IOException e) {
super(e);
}
}