Skip to content

Commit 9be31ab

Browse files
committed
.nET: catch method missing
1 parent 836e514 commit 9be31ab

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

+stdlib/+dotnet/private/dotnetException.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ function dotnetException(e)
77
% pass
88
case {'MATLAB:undefinedVarOrClass', 'MATLAB:NET:NETInterfaceUnsupported'}
99
% .NET not enabled
10-
case {'MATLAB:NET:INVALIDMEMBER', 'MATLAB:subscripting:classHasNoPropertyOrMethod'}
10+
case {'MATLAB:NET:INVALIDMEMBER', 'MATLAB:subscripting:classHasNoPropertyOrMethod', 'MATLAB:NET:CLRException:MethodInvoke'}
1111
% .NET too old or not supported on this platform
1212
otherwise
1313
rethrow(e)
@@ -21,4 +21,4 @@ function dotnetException(e)
2121
end
2222
end
2323

24-
end
24+
end

0 commit comments

Comments
 (0)