Share via


Speech Server Exceptions

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

If an error is caught at run time, Speech Server displays an error using a mechanism called exception handling. The exceptions used by Speech Server are listed in the following table.

Exception Description

ApplicationException

A non-fatal application error occurred.

ArgumentException

One of the arguments provided to a method is not valid.

ArgumentNullException

A null reference (Nothing keyword in Visual Basic) was passed to a method that does not accept it as a valid argument.

ArgumentOutOfRangeException

The value of an argument is outside the allowable range of values as defined by the invoked method.

CallDisconnectedException

An activity attempted to perform speech or telephony operations after a call was disconnected.

FormatException

The format of an argument does not meet the parameter specifications of the invoked method.

HttpException

An exception occurred during the processing of HTTP requests.

InvalidOperationException

A method call is invalid for the object's current state.

IOException

An I/O error occurred.

NotImplementedException

A requested method or operation is not implemented.

NotSupportedException

An invoked method is not supported; or there was an attempt to read, seek, or write to a stream that does not support the invoked functionality.

ObjectDisposedException

An operation was performed on a disposed object.

RemotingException

An error occurred during remoting.

SpeechApplicationException

Speech operations failed in a manner that is non-fatal to the platform.

TelephonyException

Errors occurred inside the TelephonySession.

TimeoutException

The time allotted for a process or operation expired.

WebException

An error occurred while accessing the network through a pluggable protocol.

See Also

Other Resources

Speech Application Development Guide