<< throw Error manager warning >>

throwAsCaller


Throw exception as if occurs within calling function.


Syntax


throwAsCaller(MException)

Input argument


MException

MException object

Description


It throws an exception as if it occurs within the calling function.

Example


function test_throwAsCaller()
  ME = MException('n:m', 'your error')
  throwAsCaller(ME)

See also


MException, rethrow, throw.

History


Version Description
1.0.0 initial version

Author


Allan CORNET

<< throw Error manager warning >>