mirror of
https://github.com/sbt/sbt.git
synced 2026-09-07 19:05:53 +02:00
Give an explanation in case of ServerAlreadyBootingException (#6353)
Give and explanation in case of ServerAlreadyBootingException
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user