Uses of Class
java.lang.SecurityException
Packages that use SecurityException
Package
Description
com.ibm.gpu allows the user to perform certain operations using any connected CUDA capable GPU
OpenJ9 management extensions to java.lang.management.
Contains all of the classes for creating user interfaces and for painting
graphics and images.
Contains classes related to developing beans -- components based on
the JavaBeans architecture.
Provides for system input and output through data streams,
serialization and the file system.
Provides classes that are fundamental to the design of the Java
programming language.
Provides the RMI package.
Provides classes and interfaces for supporting the server side of RMI.
Provides the classes and interfaces for the security framework.
Provides the classes and interfaces of
the Java 2 platform's core logging facilities.
Provides a set of "lightweight" (all-Java language) components
that, to the maximum degree possible, work the same on all platforms.
This package provides classes to create events and control Flight Recorder.
This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX).
-
Uses of SecurityException in com.ibm.gpu
Methods in com.ibm.gpu that throw SecurityExceptionModifier and TypeMethodDescriptionstatic CUDAManagerCUDAManager.getInstance()Deprecated.static CUDAManagerCUDAManager.instance()Return a CUDAManager instance. -
Uses of SecurityException in com.ibm.lang.management
Methods in com.ibm.lang.management that throw SecurityExceptionModifier and TypeMethodDescriptionThreadMXBean.dumpAllExtendedThreads(boolean lockedMonitors, boolean lockedSynchronizers) API method that fetches an array of ExtendedThreadInfo objects corresponding to threads in the virtual machine during the time it is invoked.longThreadMXBean.getNativeThreadId(long threadId) Find the native (operating system assigned) thread identifiers corresponding to a unique TID (as returned by java/lang/Thread.getId()).long[]ThreadMXBean.getNativeThreadIds(long[] threadIDs) Fetches an array of the native (operating system assigned) identifiers corresponding to unique TIDs (as returned by java/lang/Thread.getId()) specified to it. -
Uses of SecurityException in java.awt
Methods in java.awt that throw SecurityExceptionModifier and TypeMethodDescriptionvoidKeyboardFocusManager.clearGlobalFocusOwner()Clears the global focus owner at both the Java and native levels.protected WindowKeyboardFocusManager.getGlobalActiveWindow()Returns the active Window, even if the calling thread is in a different context than the active Window.protected ContainerKeyboardFocusManager.getGlobalCurrentFocusCycleRoot()Returns the current focus cycle root, even if the calling thread is in a different context than the current focus cycle root.protected WindowKeyboardFocusManager.getGlobalFocusedWindow()Returns the focused Window, even if the calling thread is in a different context than the focused Window.protected ComponentKeyboardFocusManager.getGlobalFocusOwner()Returns the focus owner, even if the calling thread is in a different context than the focus owner.protected ComponentKeyboardFocusManager.getGlobalPermanentFocusOwner()Returns the permanent focus owner, even if the calling thread is in a different context than the permanent focus owner.final voidWindow.setAlwaysOnTop(boolean alwaysOnTop) Sets whether this window should always be above other windows.static voidKeyboardFocusManager.setCurrentKeyboardFocusManager(KeyboardFocusManager newManager) Sets the current KeyboardFocusManager instance for the calling thread's context.protected voidKeyboardFocusManager.setGlobalActiveWindow(Window activeWindow) Sets the active Window.voidKeyboardFocusManager.setGlobalCurrentFocusCycleRoot(Container newFocusCycleRoot) Sets the current focus cycle root.protected voidKeyboardFocusManager.setGlobalFocusedWindow(Window focusedWindow) Sets the focused Window.protected voidKeyboardFocusManager.setGlobalFocusOwner(Component focusOwner) Sets the focus owner.protected voidKeyboardFocusManager.setGlobalPermanentFocusOwner(Component permanentFocusOwner) Sets the permanent focus owner. -
Uses of SecurityException in java.beans
Methods in java.beans that throw SecurityExceptionModifier and TypeMethodDescriptionstatic voidBeans.setDesignTime(boolean isDesignTime) Used to indicate whether of not we are running in an application builder environment.static voidBeans.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 SecurityExceptionModifier and TypeMethodDescriptionprotected booleanObjectOutputStream.enableReplaceObject(boolean enable) Enables the stream to do replacement of objects written to the stream.protected booleanObjectInputStream.enableResolveObject(boolean enable) Enables the stream to do replacement of objects read from the stream.Constructors in java.io that throw SecurityExceptionModifierConstructorDescriptionprotectedProvide a way for subclasses that are completely reimplementing ObjectInputStream to not have to allocate private data just used by this implementation of ObjectInputStream.protectedProvide a way for subclasses that are completely reimplementing ObjectOutputStream to not have to allocate private data just used by this implementation of ObjectOutputStream. -
Uses of SecurityException in java.lang
Methods in java.lang that throw SecurityExceptionModifier and TypeMethodDescriptionClass<?>[]Class.getClasses()Answers an array containing all public class members of the class which the receiver represents and its superclasses and interfacesClass.getConstructor(Class<?>... parameterTypes) Answers a public Constructor object which represents the constructor described by the arguments.Constructor<?>[]Class.getConstructors()Answers an array containing Constructor objects describing all constructors which are visible from the current execution context.Class<?>[]Class.getDeclaredClasses()Answers an array containing all class members of the class which the receiver represents.Class.getDeclaredConstructor(Class<?>... parameterTypes) Answers a Constructor object which represents the constructor described by the arguments.Constructor<?>[]Class.getDeclaredConstructors()Answers an array containing Constructor objects describing all constructor which are defined by the receiver.Class.getDeclaredField(String name) Answers a Field object describing the field in the receiver named by the argument.Field[]Class.getDeclaredFields()Answers an array containing Field objects describing all fields which are defined by the receiver.Class.getDeclaredMethod(String name, Class<?>... parameterTypes) Answers a Method object which represents the method described by the arguments.Method[]Class.getDeclaredMethods()Answers an array containing Method objects describing all methods which are defined by the receiver.Class<?>Class.getDeclaringClass()Answers the class which declared the class represented by the receiver.Class<?>Class.getEnclosingClass()Return the enclosing Class of this Class.Constructor<?>Class.getEnclosingConstructor()If this Class is defined inside a constructor, return the Constructor.Class.getEnclosingMethod()If this Class is defined inside a method, return the Method.Answers a Field object describing the field in the receiver named by the argument which must be visible from the current execution context.Field[]Class.getFields()Answers an array containing Field objects describing all fields which are visible from the current execution context.Answers a Method object which represents the method described by the arguments.Method[]Class.getMethods()Answers an array containing Method objects describing all methods which are visible from the current execution context.Class<?>Class.getNestHost()Answers the host class of the receiver's nest.Class<?>[]Class.getNestMembers()Answers the nest member classes of the receiver's nest host.Class<?>[]Class.getPermittedSubclasses()Returns the permitted subclasses related to the calling sealed class as an array of Class objects.Class.getProtectionDomain()Answers the ProtectionDomain of the receiver.Class.getRecordComponents()Returns an array of RecordComponent objects for a record class. -
Uses of SecurityException in java.rmi
Subclasses of SecurityException in java.rmi -
Uses of SecurityException in java.rmi.server
Methods in java.rmi.server that throw SecurityExceptionModifier and TypeMethodDescriptionstatic ClassLoaderRMIClassLoader.getClassLoader(String codebase) Returns a class loader that loads classes from the given codebase URL path. -
Uses of SecurityException in java.security
Subclasses of SecurityException in java.securityModifier and TypeClassDescriptionclassDeprecated, for removal: This API element is subject to removal in a future version.This class is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.Methods in java.security that throw SecurityExceptionModifier and TypeMethodDescriptionvoidGuard.checkGuard(Object object) Determines whether or not to allow access to the guarded objectobject.voidPermission.checkGuard(Object object) Implements the guard interface for a permission.GuardedObject.getObject()Retrieves the guarded object, or throws an exception if access to the guarded object is denied by the guard. -
Uses of SecurityException in java.util.logging
Methods in java.util.logging that throw SecurityExceptionModifier and TypeMethodDescriptionvoidLogger.addHandler(Handler handler) Add a log Handler to receive logging messages.voidLogManager.checkAccess()Deprecated, for removal: This API element is subject to removal in a future version.This method is only useful in conjunction with the Security Manager, which is deprecated and subject to removal in a future release.voidFileHandler.close()Close all the files.abstract voidHandler.close()Close theHandlerand free all associated resources.voidMemoryHandler.close()Close theHandlerand free all associated resources.voidSocketHandler.close()Close this output stream.voidStreamHandler.close()Close the current output stream.voidLogManager.readConfiguration()Reads and initializes the logging configuration.voidLogManager.readConfiguration(InputStream ins) Reads and initializes the logging configuration from the given input stream.voidLogger.removeHandler(Handler handler) Remove a log Handler.voidLogManager.reset()Reset the logging configuration.voidHandler.setEncoding(String encoding) Set the character encoding used by thisHandler.voidStreamHandler.setEncoding(String encoding) Set (or change) the character encoding used by thisHandler.voidSet aFilterto control output on thisHandler.voidSet a filter to control output on this Logger.voidHandler.setFormatter(Formatter newFormatter) Set aFormatter.voidSet the log level specifying which message levels will be logged by thisHandler.voidSet the log level specifying which message levels will be logged by this logger.protected voidStreamHandler.setOutputStream(OutputStream out) Change the output stream.voidMemoryHandler.setPushLevel(Level newLevel) Set thepushLevel.Constructors in java.util.logging that throw SecurityExceptionModifierConstructorDescriptionConstruct a defaultFileHandler.FileHandler(String pattern) Initialize aFileHandlerto write to the given filename.FileHandler(String pattern, boolean append) Initialize aFileHandlerto write to the given filename, with optional append.FileHandler(String pattern, int limit, int count) Initialize aFileHandlerto write to a set of files.FileHandler(String pattern, int limit, int count, boolean append) Initialize aFileHandlerto write to a set of files with optional append. -
Uses of SecurityException in javax.swing
Methods in javax.swing that throw SecurityExceptionModifier and TypeMethodDescriptionstatic voidFocusManager.setCurrentManager(FocusManager aFocusManager) Sets the currentKeyboardFocusManagerinstance for the calling thread's context.static voidUIManager.setInstalledLookAndFeels(UIManager.LookAndFeelInfo[] infos) Sets the set of available look and feels. -
Uses of SecurityException in jdk.jfr
Methods in jdk.jfr that throw SecurityExceptionModifier and TypeMethodDescriptionstatic voidFlightRecorder.addPeriodicEvent(Class<? extends Event> eventClass, Runnable hook) Adds a hook for a periodic event.static FlightRecorderFlightRecorder.getFlightRecorder()Returns the Flight Recorder for the platform.static booleanFlightRecorder.removePeriodicEvent(Runnable hook) Removes a hook for a periodic event. -
Uses of SecurityException in jdk.management.jfr
Methods in jdk.management.jfr that throw SecurityExceptionModifier and TypeMethodDescriptionlongFlightRecorderMXBean.cloneRecording(long recordingId, boolean stop) Creates a copy of an existing recording, useful for extracting parts of a recording.voidWrites recording data to the specified file.longFlightRecorderMXBean.newRecording()Creates a recording, but doesn't start it.voidFlightRecorderMXBean.startRecording(long recordingId) Starts the recording with the specified ID.booleanFlightRecorderMXBean.stopRecording(long recordingId) Stops the running recording with the specified ID.
instance()instead.