Skip to content

Commit

Permalink
Nodeclipse#107; String ERROR_STRING = "Nodeclipse/chromedevtools fail…
Browse files Browse the repository at this point in the history
…ed to connect

to Standalone V8 VM\n"
  • Loading branch information
paulvi committed Jan 2, 2014
1 parent 44af2be commit 2886eef
Showing 1 changed file with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -282,12 +282,15 @@ public JavascriptVmEmbedder attach(JavascriptVmEmbedder.Listener embedderListene
DebugEventListener debugEventListener)
throws CoreException {
embedderListener = null;
//+ @since 0.9 modified exception message string
String ERROR_STRING = "Nodeclipse/chromedevtools failed to connect to Standalone V8 VM\n"
+"( Check Help (F1) and Support http://www.nodeclipse.org/#support ). info:"+;
try {
standaloneVm.attach(debugEventListener);
} catch (IOException e) {
throw newCoreException("Failed to connect to Standalone V8 VM", e);
throw newCoreException(ERROR_STRING, e);
} catch (UnsupportedVersionException e) {
throw newCoreException("Failed to connect to Standalone V8 VM", e);
throw newCoreException(ERROR_STRING, e);
}
return new JavascriptVmEmbedder() {
public JavascriptVm getJavascriptVm() {
Expand Down

0 comments on commit 2886eef

Please sign in to comment.