Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

throw

throw error.

Syntax

  • throw(MException)

Input argument

  • MException - MException object

Description

throw(MException) throws an exception based on the information contained in the MException object, exception.

Example

ME = MException('nelson:errorId', 'my error')
throw(ME)

See also

MException, rethrow, throwAsCaller.

History

VersionDescription
1.0.0initial version

Author

Allan CORNET