Skip to content

Commit b6fa144

Browse files
committed
Version 3.0.0 Beta 1
1 parent 3265263 commit b6fa144

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

CHANGELOG.md

+10
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,16 @@
11
Change log
22
==========
33

4+
## v3.0.0 Beta 1 - April 8, 2018
5+
* Format of the error messages was unified
6+
* Created a new exception classes: `JsCompilationException`, `JsEngineException`, `JsFatalException` and `JsUsageException`. These exceptions are responsible for handling errors, some of which were previously handled by the `JsRuntimeException` class.
7+
* In the `JsException` class was added two new properties: `Category` and `Description`
8+
* From the `JsRuntimeException` class was removed one property - `ErrorCode`
9+
* In the `JsRuntimeException` class was added three new properties: `Type`, `DocumentName` and `CallStack`
10+
* `JsScriptInterruptedException` class was renamed to the `JsInterruptedException` class and now is inherited from the `JsRuntimeException` class
11+
* `JsEngineLoadException` class now is inherited from the `JsEngineException` class
12+
* `Format` method of the `JsErrorHelpers` class was renamed to the `GenerateErrorDetails`
13+
414
## v3.0.0 Alpha 3 - December 10, 2017
515
* Added support of .NET Standard 2.0
616
* Fixed a error, that occurred in the `Classic` mode during removing the embedded host objects and types

src/MsieJavaScriptEngine/ActiveScript/ActiveScriptJsEngineBase.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -137,7 +137,7 @@ protected ActiveScriptJsEngineBase(JsEngineSettings settings, string clsid,
137137
catch (ActiveScriptException e)
138138
{
139139
string description = e.Description;
140-
string message = JsErrorHelpers.GenerateEngineLoadErrorMessage(description, _engineModeName);
140+
string message = JsErrorHelpers.GenerateEngineLoadErrorMessage(description, _engineModeName, true);
141141

142142
var wrapperEngineLoadException = new JsEngineLoadException(message, _engineModeName, e)
143143
{

0 commit comments

Comments
 (0)