Uses of Class
java.lang.IllegalStateException
-
Packages that use IllegalStateException Package Description com.sun.nio.sctp A Java API for Stream Control Transport Protocol.java.awt Contains all of the classes for creating user interfaces and for painting graphics and images.java.awt.dnd Drag and Drop is a direct manipulation gesture found in many Graphical User Interface systems that provides a mechanism to transfer information between two entities logically associated with presentation elements in the GUI.java.lang.invoke Thejava.lang.invokepackage provides low-level primitives for interacting with the Java Virtual Machine.java.nio Defines buffers, which are containers for data, and provides an overview of the other NIO packages.java.nio.channels Defines channels, which represent connections to entities that are capable of performing I/O operations, such as files and sockets; defines selectors, for multiplexed, non-blocking I/O operations.java.nio.file Defines interfaces and classes for the Java virtual machine to access files, file attributes, and file systems.java.util Contains the collections framework, some internationalization support classes, a service loader, properties, random number generation, string parsing and scanning classes, base64 encoding and decoding, a bit array, and several miscellaneous utility classes.java.util.concurrent Utility classes commonly useful in concurrent programming.javax.crypto Provides the classes and interfaces for cryptographic operations.javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms.jdk.jfr This package provides classes to create events and control Flight Recorder.jdk.jshell Provides interfaces for creating tools, such as a Read-Eval-Print Loop (REPL), which interactively evaluate "snippets" of Java programming language code.jdk.management.jfr This package contains classes to control and monitor Flight Recorder over Java Management Extensions (JMX). -
-
Uses of IllegalStateException in com.sun.nio.sctp
Subclasses of IllegalStateException in com.sun.nio.sctp Modifier and Type Class Description classIllegalReceiveExceptionUnchecked exception thrown when an attempt is made to invoke thereceivemethod ofSctpChannelorSctpMultiChannelfrom a notification handler.classIllegalUnbindExceptionUnchecked exception thrown when an attempt is made to remove an address that is not bound to the channel, or remove an address from a channel that has only one address bound to it. -
Uses of IllegalStateException in java.awt
Subclasses of IllegalStateException in java.awt Modifier and Type Class Description classIllegalComponentStateExceptionSignals that an AWT component is not in an appropriate state for the requested operation.Methods in java.awt that throw IllegalStateException Modifier and Type Method Description voidSplashScreen. close()Hides the splash screen, closes the window, and releases all associated resources.Graphics2DSplashScreen. createGraphics()Creates a graphics context (as aGraphics2Dobject) for the splash screen overlay image, which allows you to draw over the splash screen.RectangleSplashScreen. getBounds()Returns the bounds of the splash screen window as aRectangle.URLSplashScreen. getImageURL()Returns the current splash screen image.DimensionSplashScreen. getSize()Returns the size of the splash screen window as aDimension.voidSplashScreen. setImageURL(URL imageURL)Changes the splash screen image.voidSplashScreen. update()Updates the splash window with current contents of the overlay image. -
Uses of IllegalStateException in java.awt.dnd
Subclasses of IllegalStateException in java.awt.dnd Modifier and Type Class Description classInvalidDnDOperationExceptionThis exception is thrown by various methods in the java.awt.dnd package. -
Uses of IllegalStateException in java.lang.invoke
Methods in java.lang.invoke that throw IllegalStateException Modifier and Type Method Description MethodHandleConstantCallSite. dynamicInvoker()Return the target MethodHandle of this CallSite.MethodHandleConstantCallSite. getTarget()Return the target MethodHandle of this CallSite. -
Uses of IllegalStateException in java.nio
Subclasses of IllegalStateException in java.nio Modifier and Type Class Description classInvalidMarkExceptionUnchecked exception thrown when an attempt is made to reset a buffer when its mark is not defined. -
Uses of IllegalStateException in java.nio.channels
Subclasses of IllegalStateException in java.nio.channels Modifier and Type Class Description classAcceptPendingExceptionUnchecked exception thrown when an attempt is made to initiate an accept operation on a channel and a previous accept operation has not completed.classAlreadyBoundExceptionUnchecked exception thrown when an attempt is made to bind the socket a network oriented channel that is already bound.classAlreadyConnectedExceptionUnchecked exception thrown when an attempt is made to connect aSocketChannelthat is already connected.classCancelledKeyExceptionUnchecked exception thrown when an attempt is made to use a selection key that is no longer valid.classClosedSelectorExceptionUnchecked exception thrown when an attempt is made to invoke an I/O operation upon a closed selector.classConnectionPendingExceptionUnchecked exception thrown when an attempt is made to connect aSocketChannelfor which a non-blocking connection operation is already in progress.classIllegalBlockingModeExceptionUnchecked exception thrown when a blocking-mode-specific operation is invoked upon a channel in the incorrect blocking mode.classNoConnectionPendingExceptionUnchecked exception thrown when thefinishConnectmethod of aSocketChannelis invoked without first successfully invoking itsconnectmethod.classNonReadableChannelExceptionUnchecked exception thrown when an attempt is made to read from a channel that was not originally opened for reading.classNonWritableChannelExceptionUnchecked exception thrown when an attempt is made to write to a channel that was not originally opened for writing.classNotYetBoundExceptionUnchecked exception thrown when an attempt is made to invoke an I/O operation upon a server socket channel that is not yet bound.classNotYetConnectedExceptionUnchecked exception thrown when an attempt is made to invoke an I/O operation upon a socket channel that is not yet connected.classOverlappingFileLockExceptionUnchecked exception thrown when an attempt is made to acquire a lock on a region of a file that overlaps a region already locked by the same Java virtual machine, or when another thread is already waiting to lock an overlapping region of the same file.classReadPendingExceptionUnchecked exception thrown when an attempt is made to read from an asynchronous socket channel and a previous read has not completed.classShutdownChannelGroupExceptionUnchecked exception thrown when an attempt is made to construct a channel in a group that is shutdown or the completion handler for an I/O operation cannot be invoked because the channel group has terminated.classWritePendingExceptionUnchecked exception thrown when an attempt is made to write to an asynchronous socket channel and a previous write has not completed. -
Uses of IllegalStateException in java.nio.file
Subclasses of IllegalStateException in java.nio.file Modifier and Type Class Description classClosedDirectoryStreamExceptionUnchecked exception thrown when an attempt is made to invoke an operation on a directory stream that is closed.classClosedFileSystemExceptionUnchecked exception thrown when an attempt is made to invoke an operation on a file and the file system is closed.classClosedWatchServiceExceptionUnchecked exception thrown when an attempt is made to invoke an operation on a watch service that is closed. -
Uses of IllegalStateException in java.util
Subclasses of IllegalStateException in java.util Modifier and Type Class Description classFormatterClosedExceptionUnchecked exception thrown when the formatter has been closed. -
Uses of IllegalStateException in java.util.concurrent
Subclasses of IllegalStateException in java.util.concurrent Modifier and Type Class Description classCancellationExceptionException indicating that the result of a value-producing task, such as aFutureTask, cannot be retrieved because the task was cancelled. -
Uses of IllegalStateException in javax.crypto
Methods in javax.crypto that throw IllegalStateException Modifier and Type Method Description byte[]Mac. doFinal()Finishes the MAC operation.byte[]Mac. doFinal(byte[] input)Processes the given array of bytes and finishes the MAC operation.voidMac. doFinal(byte[] output, int outOffset)Finishes the MAC operation.KeyKeyAgreement. doPhase(Key key, boolean lastPhase)Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.protected abstract KeyKeyAgreementSpi. engineDoPhase(Key key, boolean lastPhase)Executes the next phase of this key agreement with the given key that was received from one of the other parties involved in this key agreement.protected abstract byte[]KeyAgreementSpi. engineGenerateSecret()Generates the shared secret and returns it in a new buffer.protected abstract intKeyAgreementSpi. engineGenerateSecret(byte[] sharedSecret, int offset)Generates the shared secret, and places it into the buffersharedSecret, beginning atoffsetinclusive.protected abstract SecretKeyKeyAgreementSpi. engineGenerateSecret(String algorithm)Creates the shared secret and returns it as a secret key object of the requested algorithm type.byte[]KeyAgreement. generateSecret()Generates the shared secret and returns it in a new buffer.intKeyAgreement. generateSecret(byte[] sharedSecret, int offset)Generates the shared secret, and places it into the buffersharedSecret, beginning atoffsetinclusive.SecretKeyKeyAgreement. generateSecret(String algorithm)Creates the shared secret and returns it as aSecretKeyobject of the specified algorithm.byte[]ExemptionMechanism. genExemptionBlob()Generates the exemption mechanism key blob.intExemptionMechanism. genExemptionBlob(byte[] output)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer.intExemptionMechanism. genExemptionBlob(byte[] output, int outputOffset)Generates the exemption mechanism key blob, and stores the result in theoutputbuffer, starting atoutputOffsetinclusive.intExemptionMechanism. getOutputSize(int inputLen)Returns the length in bytes that an output buffer would need to be in order to hold the result of the nextgenExemptionBloboperation, given the input lengthinputLen(in bytes).voidMac. update(byte input)Processes the given byte.voidMac. update(byte[] input)Processes the given array of bytes.voidMac. update(byte[] input, int offset, int len)Processes the firstlenbytes ininput, starting atoffsetinclusive. -
Uses of IllegalStateException in javax.swing
Methods in javax.swing that throw IllegalStateException Modifier and Type Method Description voidTransferHandler. exportToClipboard(JComponent comp, Clipboard clip, int action)Causes a transfer from the given component to the given clipboard. -
Uses of IllegalStateException in jdk.jfr
Methods in jdk.jfr that throw IllegalStateException Modifier and Type Method Description static FlightRecorderFlightRecorder. getFlightRecorder()Returns the Flight Recorder for the platform. -
Uses of IllegalStateException in jdk.jshell
Methods in jdk.jshell that throw IllegalStateException Modifier and Type Method Description JShellJShell.Builder. build()Builds a JShell state engine.static JShellJShell. create()Create a new JShell state engine.List<SnippetEvent>JShell. drop(Snippet snippet)Remove a declaration from the state.List<SnippetEvent>JShell. eval(String input)Evaluate the input String, including definition and/or execution, if applicable.JShell.SubscriptionJShell. onShutdown(Consumer<JShell> listener)Register a callback to be called when this JShell instance terminates.JShell.SubscriptionJShell. onSnippetEvent(Consumer<SnippetEvent> listener)Register a callback to be called when the Status of a snippet changes.StringJShell. varValue(VarSnippet snippet)Get the current value of a variable. -
Uses of IllegalStateException in jdk.management.jfr
Methods in jdk.management.jfr that throw IllegalStateException Modifier and Type Method Description 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.
-