MException
Matrix Exception information.
Syntax
ME = MException(identifier, message)
ME = MException('last')
MException('reset')
Input argument
identifier - a string: error identifier.
message - a string.
Output argument
ME - a MException object.
Description
All Nelson code that detects an error and throws an exception constructs an MException object.
identifier includes one or more component fields and a mnemonic field (example: 'nelson:matrix:empty')
ME = MException('last') return last exception.
MException('reset') clears last exception.
Example
See also
error, try, throw, rethrow, throwAsCaller.
History
Version
Description
1.0.0
initial version
Author
Allan CORNET
Last updated