Collapse All Expand All

.NET Framework Class Library
Members See Also

[TIBCO.EMS .NET client library 6.0 documentation]

A method call or server request occurred in an inappropriate context.

Namespace: TIBCO.EMS
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)

# Syntax

    public class IllegalStateException : EMSException

    Public Class IllegalStateException _
    	Inherits EMSException

    public ref class IllegalStateException : public EMSException

# Remarks

This exception is thrown when a method is invoked at an illegal or inappropriate time or if the provider is not in an appropriate state for the requested operation. For example, this exception is thrown if Session.commit is called on a non-transacted session. This exception is also called when a domain inappropriate method is called, such as calling CreateBrowser on a TopicSession.

# Inheritance Hierarchy

System..::.Object
System..::.Exception
TIBCO.EMS..::.EMSException
TIBCO.EMS..::.IllegalStateException

# See Also

IllegalStateException Members
TIBCO.EMS Namespace