mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
DBE: help user when missing domain auth jar
This commit is contained in:
@@ -44,6 +44,7 @@ public class RemoteServer {
|
||||
}
|
||||
|
||||
public static final String DOMAIN_AUTH_LIBRARY_PATH = "domain.auth.library";
|
||||
public static final String DOMAIN_AUTH_MISSING_FILES = "Missing native authentication library: ";
|
||||
|
||||
private static Remote ourRemote;
|
||||
|
||||
@@ -168,7 +169,7 @@ public class RemoteServer {
|
||||
|
||||
//noinspection IOResourceOpenedButNotSafelyClosed
|
||||
InputStream is = RemoteServer.class.getResourceAsStream(path);
|
||||
if (is == null) throw new FileNotFoundException("File " + path + " was not found inside JAR.");
|
||||
if (is == null) throw new FileNotFoundException(DOMAIN_AUTH_MISSING_FILES + path);
|
||||
|
||||
OutputStream os = new FileOutputStream(temp);
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user