Skip to content

Commit e41236b

Browse files
committed
Made proper exception.
1 parent 783e58c commit e41236b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Memory/NativeHelper.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
using System.Linq;
55
using System.Runtime.InteropServices;
66
using ReClassNET.Util;
7+
using System.IO;
78

89
namespace ReClassNET.Memory
910
{
@@ -109,7 +110,7 @@ public NativeHelper()
109110
nativeHelperHandle = NativeMethods.LoadLibrary(NativeHelperDll);
110111
if (nativeHelperHandle.IsNull())
111112
{
112-
throw new Exception();
113+
throw new FileNotFoundException(NativeHelperDll);
113114
}
114115

115116
InintializeNativeModule(nativeHelperHandle);

0 commit comments

Comments
 (0)