Share via


Simulating Exceptions

  Microsoft Speech Technologies Homepage

To test error handling, Speech Debugging Console can send exceptions to the application during a debug session.

To send an exception

  1. In Speech Debugging Console, in the Exceptions list, click an exception to send.
  2. Click Submit.
Error Listing Status Code Description
Error: Generic Error -1 A generic Speech Application Platform (Speech Platform) error occurred during recognition.
Error: No Platform -2 Failure to find a Speech Platform (for distributed architectures).
Error: Illegal Attribute -3 An invalid property/attribute setting that causes a problem with the recognition request.
Error: No Grammar Resource -4 Failure to find resource. In the case of recognition, this is a grammar resource.
Error: Invalid Grammar -5 Failure to load or compile a grammar resource.
Error: Activate/Deactivate Grammar  -6 Failure to activate or deactivate rules/grammars.
Error: Max Time Exceeded -7 The period specified in the maxtimeout attribute expired before recognition was completed.
Error: No Grammars -8 There are no active grammars when the recognition is started.
Error: Another Collection Active -9 More than one dual tone multi-frequency (DTMF) collection is active. This feature is only available using SALT.
Silence -11 No speech or sound was detected. The recognition started, but stopped before the initial time-out occurred.
No Reco: Out Of Grammar Key Press -13 A key outside the scope of the active grammar has been pressed. For example, if the application requests a six-digit pin number, and the active grammar does not specify that the pound (#) key is a valid number, this error is returned if the user presses the pound key.
No Reco: Mumble -14 Some speech was detected and interpreted but rejected because of insufficient confidence.
No Reco: Babble -15 Speech was detected and interpreted, but a complete recognition was unable to be returned between the detection of speech and the duration specified in the babbletimeout attribute.
No Reco: Interdigit Time-out -16 The interdigittimeout has expired.
Error: SML Generation Failure -18 The recognition failed to generate SML output.
Error: Failure To Record -20 Recording failed.
Error: Unsupported Codec -21 The codec used for recording is not supported.
Error: Unsupported Format -22 The audio format is not supported.
Error: Streaming Error -23 An error occurred in the audio stream.
Error: Illegal Attribute -24 An invalid property/attribute setting that causes a problem with the recognition request.

See Also

Debugging Speech Applications | Debugging the Tutorial Application