From 736f4790b79d892fac6e231fbbdd6ad929fc7e3b Mon Sep 17 00:00:00 2001 From: Alexander Kass Date: Mon, 13 Mar 2017 14:59:49 +0300 Subject: [PATCH] DBE: help user when missing domain auth jar --- .../util-rt/src/com/intellij/execution/rmi/RemoteServer.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/platform/util-rt/src/com/intellij/execution/rmi/RemoteServer.java b/platform/util-rt/src/com/intellij/execution/rmi/RemoteServer.java index b8f03090a00a..26c88404fe59 100644 --- a/platform/util-rt/src/com/intellij/execution/rmi/RemoteServer.java +++ b/platform/util-rt/src/com/intellij/execution/rmi/RemoteServer.java @@ -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 {