report = getReport(ME)
report = getReport(ME, type)
report = ME.getReport(type)
| Paramètre | Description |
|---|---|
| ME | un objet MException scalaire. |
| type | 'basic' ou 'extended'. |
| Paramètre | Description |
|---|---|
| report | une chaine : rapport formate de l'exception. |
getReport renvoie un rapport formate pour un objet MException.
Le rapport basic contient le message de l'exception. Le rapport extended inclut des informations de diagnostic supplementaires lorsqu'elles sont disponibles.
ME = MException('nelson:badIndex', 'Unable to index into array.');
getReport(ME, 'basic')
| Version | Description |
|---|---|
| 2.0.0 | version initiale |