Class java.telephony.PrivilegeViolationException
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class java.telephony.PrivilegeViolationException

java.lang.Object
   |
   +----java.lang.Throwable
           |
           +----java.lang.Exception
                   |
                   +----java.telephony.PrivilegeViolationException

public class PrivilegeViolationException
extends Exception
An action on or related to a certain object failed because the application did not have proper security permissions to execute that command.

Variable Index

 o DESTINATION_VIOLATION
A privilege violation occurred on the destination
 o ORIGINATOR_VIOLATION
A privilege violation occurred on the originator

Constructor Index

 o PrivilegeViolationException(int)
Constructor, take a type but no string.
 o PrivilegeViolationException(int, String)
Constructor, takes a type and a string.

Method Index

 o getType()
Returns the type.

Variables

 o ORIGINATOR_VIOLATION
  public final static int ORIGINATOR_VIOLATION
A privilege violation occurred on the originator
 o DESTINATION_VIOLATION
  public final static int DESTINATION_VIOLATION
A privilege violation occurred on the destination

Constructors

 o PrivilegeViolationException
  public PrivilegeViolationException(int type)
Constructor, take a type but no string.
 o PrivilegeViolationException
  public PrivilegeViolationException(int type,
                                     String s)
Constructor, takes a type and a string.

Methods

 o getType
  public int getType()
Returns the type.

All Packages  Class Hierarchy  This Package  Previous  Next  Index