站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

Java(TM) 2 Platform, Standard Edition, v1.2.2 API Specification: Uses of Class java.lang.SecurityException - JDK 5 Documentation v1.2.2, Java 2 SDK 英文文档

JavaTM 2 Platform
Standard Edition

Uses of Class
java.lang.SecurityException

Packages that use SecurityException
java.beans Contains classes related to Java Beans development. 
java.io Provides for system input and output through data streams, serialization and the file system. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. 
java.rmi Provides the RMI package. 
java.security Provides the classes and interfaces for the security framework. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
 

Uses of SecurityException in java.beans
 

Methods in java.beans that throw SecurityException
static void Beans.setDesignTime(boolean isDesignTime)
          Used to indicate whether of not we are running in an application builder environment.
static void Beans.setGuiAvailable(boolean isGuiAvailable)
          Used to indicate whether of not we are running in an environment where GUI interaction is available.
 

Uses of SecurityException in java.io
 

Methods in java.io that throw SecurityException
protected  boolean ObjectOutputStream.enableReplaceObject(boolean enable)
          Enable the stream to do replacement of objects in the stream.
protected  boolean ObjectInputStream.enableResolveObject(boolean enable)
          Enable the stream to allow objects read from the stream to be replaced.
 

Constructors in java.io that throw SecurityException
ObjectOutputStream.ObjectOutputStream()
          Provide a way for subclasses that are completely reimplementing ObjectOutputStream to not have to allocate private data just used by this implementation of ObjectOutputStream.
ObjectInputStream.ObjectInputStream()
          Provide a way for subclasses that are completely reimplementing ObjectInputStream to not have to allocate private data just used by this implementation of ObjectInputStream.
 

Uses of SecurityException in java.lang
 

Methods in java.lang that throw SecurityException
 Field[] Class.getFields()
          Returns an array containing Field objects reflecting all the accessible public fields of the class or interface represented by this Class object.
 Method[] Class.getMethods()
          Returns an array containing Method objects reflecting all the public member methods of the class or interface represented by this Class object, including those declared by the class or interface and and those inherited from superclasses and superinterfaces.
 Constructor[] Class.getConstructors()
          Returns an array containing Constructor objects reflecting all the public constructors of the class represented by this Class object.
 Field Class.getField(String name)
          Returns a Field object that reflects the specified public member field of the class or interface represented by this Class object.
 Method Class.getMethod(String name, Class[] parameterTypes)
          Returns a Method object that reflects the specified public member method of the class or interface represented by this Class object.
 Constructor Class.getConstructor(Class[] parameterTypes)
          Returns a Constructor object that reflects the specified public constructor of the class represented by this Class object.
 Class[] Class.getDeclaredClasses()
          Returns an array of Class objects reflecting all the classes and interfaces declared as members of the class represented by this Class object.
 Field[] Class.getDeclaredFields()
          Returns an array of Field objects reflecting all the fields declared by the class or interface represented by this Class object.
 Method[] Class.getDeclaredMethods()
          Returns an array of Method objects reflecting all the methods declared by the class or interface represented by this Class object.
 Constructor[] Class.getDeclaredConstructors()
          Returns an array of Constructor objects reflecting all the constructors declared by the class represented by this Class object.
 Field Class.getDeclaredField(String name)
          Returns a Field object that reflects the specified declared field of the class or interface represented by this Class object.
 Method Class.getDeclaredMethod(String name, Class[] parameterTypes)
          Returns a Method object that reflects the specified declared method of the class or interface represented by this Class object.
 Constructor Class.getDeclaredConstructor(Class[] parameterTypes)
          Returns a Constructor object that reflects the specified constructor of the class or interface represented by this Class object.
 

Uses of SecurityException in java.lang.reflect
 

Methods in java.lang.reflect that throw SecurityException
static void AccessibleObject.setAccessible(AccessibleObject[] array, boolean flag)
          Convenience method to set the accessible flag for an array of objects with a single security check (for efficiency).
 void AccessibleObject.setAccessible(boolean flag)
          Set the accessible flag for this object to the indicated boolean value.
 

Uses of SecurityException in java.rmi
 

Subclasses of SecurityException in java.rmi
 interface RMISecurityException
          Deprecated. no replacement. RMISecurityManager no longer throws this subclass of java.lang.SecurityException.
 

Uses of SecurityException in java.security
 

Subclasses of SecurityException in java.security
 interface AccessControlException
           This exception is thrown by the AccessController to indicate that a requested access (to a critical system resource such as the file system or the network) is denied.
 

Methods in java.security that throw SecurityException
 void Permission.checkGuard(Object object)
          Implements the guard interface for a permission.
 Object GuardedObject.getObject()
          Retrieves the guarded object, or throws an exception if access to the guarded object is denied by the guard.
 void Guard.checkGuard(Object object)
          Determines whether or not to allow access to the guarded object object.
 

Uses of SecurityException in javax.swing
 

Methods in javax.swing that throw SecurityException
static void UIManager.setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos)
          Replaces the current array of installed LookAndFeelInfos.
 


JavaTM 2 Platform
Standard Edition

Submit a bug or feature
Java, Java 2D, and JDBC are a trademarks or registered trademarks of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-1999 Sun Microsystems, Inc. 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.