📄 java.telephony.invalidstateexception.html
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title> Class java.telephony.InvalidStateException</title></head><body><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.html">This Package</a> <a href="java.telephony.InvalidPartyException.html#_top_">Previous</a> <a href="java.telephony.JtapiPeerUnavailableException.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class java.telephony.InvalidStateException</h1><pre><a href="java.lang.Object.html#_top_">java.lang.Object</a> | +----<a href="java.lang.Throwable.html#_top_">java.lang.Throwable</a> | +----<a href="java.lang.Exception.html#_top_">java.lang.Exception</a> | +----java.telephony.InvalidStateException</pre><hr><dl> <dt> public class <b>InvalidStateException</b> <dt> extends <a href="java.lang.Exception.html#_top_">Exception</a></dl>The current state of the object on which the method exists is not anacceptable pre-condition for the method. Each method which changes thecall model typically has a set of states in which the object must beas a pre-condition for the method. Each method documents the pre-conditionstates for objects. Typically, this method will succeed in the futureonce the object in question has reached the proper state. <p>This exception provides the application with the object in question andthe state it is currently in.<hr><a name="index"></a><h2> <img src="images/variable-index.gif" width=207 height=38 alt="Variable Index"></h2><dl> <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ADDRESS_OBJECT"><b>ADDRESS_OBJECT</b></a> <dd> The invalid object in question is the Address <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#CALL_OBJECT"><b>CALL_OBJECT</b></a> <dd> The invalid object in question is the Call <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#CONNECTION_OBJECT"><b>CONNECTION_OBJECT</b></a> <dd> The invalid object in question is the Connection <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#PROVIDER_OBJECT"><b>PROVIDER_OBJECT</b></a> <dd> The invalid object in question is the Provider <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#TERMINAL_CONNECTION_OBJECT"><b>TERMINAL_CONNECTION_OBJECT</b></a> <dd> The invalid object in question is the Terminal Connection <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#TERMINAL_OBJECT"><b>TERMINAL_OBJECT</b></a> <dd> The invalid object in question is the Terminal</dl><h2> <img src="images/constructor-index.gif" width=275 height=38 alt="Constructor Index"></h2><dl> <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#InvalidStateException(java.lang.Object, int, int)"><b>InvalidStateException</b></a>(Object, int, int) <dd> Constructor with no string. <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#InvalidStateException(java.lang.Object, int, int, java.lang.String)"><b>InvalidStateException</b></a>(Object, int, int, String) <dd> Constructor which takes a string description.</dl><h2> <img src="images/method-index.gif" width=207 height=38 alt="Method Index"></h2><dl> <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getObject()"><b>getObject</b></a>() <dd> Returns the object which has the incorrect state. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getObjectType()"><b>getObjectType</b></a>() <dd> Returns the type of object in question. <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o "> <a href="#getState()"><b>getState</b></a>() <dd> Returns the state of the object.</dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="PROVIDER_OBJECT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>PROVIDER_OBJECT</b><pre> public final static int PROVIDER_OBJECT</pre><dl> <dd> The invalid object in question is the Provider</dl><a name="CALL_OBJECT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CALL_OBJECT</b><pre> public final static int CALL_OBJECT</pre><dl> <dd> The invalid object in question is the Call</dl><a name="CONNECTION_OBJECT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>CONNECTION_OBJECT</b><pre> public final static int CONNECTION_OBJECT</pre><dl> <dd> The invalid object in question is the Connection</dl><a name="TERMINAL_OBJECT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>TERMINAL_OBJECT</b><pre> public final static int TERMINAL_OBJECT</pre><dl> <dd> The invalid object in question is the Terminal</dl><a name="ADDRESS_OBJECT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ADDRESS_OBJECT</b><pre> public final static int ADDRESS_OBJECT</pre><dl> <dd> The invalid object in question is the Address</dl><a name="TERMINAL_CONNECTION_OBJECT"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>TERMINAL_CONNECTION_OBJECT</b><pre> public final static int TERMINAL_CONNECTION_OBJECT</pre><dl> <dd> The invalid object in question is the Terminal Connection</dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="InvalidStateException"></a><a name="InvalidStateException(java.lang.Object, int, int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>InvalidStateException</b><pre> public InvalidStateException(<a href="java.lang.Object.html#_top_">Object</a> object, int type, int state)</pre><dl> <dd> Constructor with no string.</dl><a name="InvalidStateException(java.lang.Object, int, int, java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>InvalidStateException</b><pre> public InvalidStateException(<a href="java.lang.Object.html#_top_">Object</a> object, int type, int state, <a href="java.lang.String.html#_top_">String</a> s)</pre><dl> <dd> Constructor which takes a string description.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getObjectType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getObjectType"><b>getObjectType</b></a><pre> public int getObjectType()</pre><dl> <dd> Returns the type of object in question.<p> <dl> <dt> <b>Returns:</b> <dd> The type of object in question. </dl></dl><a name="getObject()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getObject"><b>getObject</b></a><pre> public <a href="java.lang.Object.html#_top_">Object</a> getObject()</pre><dl> <dd> Returns the object which has the incorrect state.<p> <dl> <dt> <b>Returns:</b> <dd> The object which is in the wrong state. </dl></dl><a name="getState()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getState"><b>getState</b></a><pre> public int getState()</pre><dl> <dd> Returns the state of the object.<p> <dl> <dt> <b>Returns:</b> <dd> The state of the object. </dl></dl><hr><pre><a href="packages.html">All Packages</a> <a href="tree.html">Class Hierarchy</a> <a href="Package-java.telephony.html">This Package</a> <a href="java.telephony.InvalidPartyException.html#_top_">Previous</a> <a href="java.telephony.JtapiPeerUnavailableException.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -