📄 java.telephony.privilegeviolationexception.html
字号:
<!--NewPage--><html><head><!-- Generated by javadoc on Fri Feb 07 16:42:30 PST 1997 --><a name="_top_"></a><title> Class java.telephony.PrivilegeViolationException</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.PlatformException.html#_top_">Previous</a> <a href="java.telephony.ProviderUnavailableException.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre><hr><h1> Class java.telephony.PrivilegeViolationException</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.PrivilegeViolationException</pre><hr><dl> <dt> public class <b>PrivilegeViolationException</b> <dt> extends <a href="java.lang.Exception.html#_top_">Exception</a></dl>An action on or related to a certain object failed because the applicationdid not have proper security permissions to execute that command.<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="#DESTINATION_VIOLATION"><b>DESTINATION_VIOLATION</b></a> <dd> A privilege violation occurred on the destination <dt> <img src="images/blue-ball-small.gif" width=6 height=6 alt=" o "> <a href="#ORIGINATOR_VIOLATION"><b>ORIGINATOR_VIOLATION</b></a> <dd> A privilege violation occurred on the originator</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="#PrivilegeViolationException(int)"><b>PrivilegeViolationException</b></a>(int) <dd> Constructor, take a type but no string. <dt> <img src="images/yellow-ball-small.gif" width=6 height=6 alt=" o "> <a href="#PrivilegeViolationException(int, java.lang.String)"><b>PrivilegeViolationException</b></a>(int, String) <dd> Constructor, takes a type and a string.</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="#getType()"><b>getType</b></a>() <dd> Returns the type.</dl><a name="variables"></a><h2> <img src="images/variables.gif" width=153 height=38 alt="Variables"></h2><a name="ORIGINATOR_VIOLATION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>ORIGINATOR_VIOLATION</b><pre> public final static int ORIGINATOR_VIOLATION</pre><dl> <dd> A privilege violation occurred on the originator</dl><a name="DESTINATION_VIOLATION"><img src="images/blue-ball.gif" width=12 height=12 alt=" o "></a><b>DESTINATION_VIOLATION</b><pre> public final static int DESTINATION_VIOLATION</pre><dl> <dd> A privilege violation occurred on the destination</dl><a name="constructors"></a><h2> <img src="images/constructors.gif" width=231 height=38 alt="Constructors"></h2><a name="PrivilegeViolationException"></a><a name="PrivilegeViolationException(int)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>PrivilegeViolationException</b><pre> public PrivilegeViolationException(int type)</pre><dl> <dd> Constructor, take a type but no string.</dl><a name="PrivilegeViolationException(int, java.lang.String)"><img src="images/yellow-ball.gif" width=12 height=12 alt=" o "></a><b>PrivilegeViolationException</b><pre> public PrivilegeViolationException(int type, <a href="java.lang.String.html#_top_">String</a> s)</pre><dl> <dd> Constructor, takes a type and a string.</dl><a name="methods"></a><h2> <img src="images/methods.gif" width=151 height=38 alt="Methods"></h2><a name="getType()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a><a name="getType"><b>getType</b></a><pre> public int getType()</pre><dl> <dd> Returns the type.</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.PlatformException.html#_top_">Previous</a> <a href="java.telephony.ProviderUnavailableException.html#_top_">Next</a> <a href="AllNames.html">Index</a></pre></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -