Error manager | error >> |
ME = MException(identifier, message) |
ME = MException('last') |
MException('reset') |
a string: error identifier.
a string.
a MException object.
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.
ME = MException('nelson:identifier', 'your error message.')
throw(ME)
error, try, throw, rethrow, throwAsCaller.
Version | Description |
---|---|
1.0.0 | initial version |
Allan CORNET