Uses of Class java.lang.IllegalStateException

Uses in package java.awt

Classes derived from java.lang.IllegalStateException

class
This exception is thrown when the requested operation failed because a component was not in the proper state.

Uses in package javax.crypto

Methods which throw type java.lang.IllegalStateException

byte[]
Finishes a multi-part transformation, and returns the final transformed bytes.
byte[]
Finishes the computation of a MAC and returns the digest.
byte[]
Cipher.doFinal(byte[] input)
Finishes a multi-part transformation or does an entire transformation on the input, and returns the transformed bytes.
byte[]
Mac.doFinal(byte[] input)
Finishes the computation of a MAC with a final byte array (or computes a MAC over those bytes only) and returns the digest.
int
Cipher.doFinal(byte[] output, int outputOffset)
Finishes a multi-part transformation and stores the transformed bytes into the given array.
void
Mac.doFinal(byte[] output, int outOffset)
Finishes the computation of a MAC and places the result into the given array.
byte[]
Cipher.doFinal(byte[] input, int inputOffset, int inputLength)
Finishes a multi-part transformation or does an entire transformation on the input, and returns the transformed bytes.
int
Cipher.doFinal(byte[] input, int inputOffset, int inputLength, byte[] output)
int
Cipher.doFinal(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset)
Finishes a multi-part transformation or transforms a portion of a byte array, and stores the result in the given byte array.
Key
KeyAgreement.doPhase(Key key, boolean lastPhase)
Do a phase in the key agreement.
Key
KeyAgreementSpi.engineDoPhase(Key key, boolean lastPhase)
Do a phase in the key agreement.
byte[]
Generate the shared secret in a new byte array.
int
KeyAgreementSpi.engineGenerateSecret(byte[] sharedSecret, int offset)
Generate the shared secret, storing it into the specified array.
SecretKey
Generate the shared secret and return it as a SecretKey.
byte[]
int
int
ExemptionMechanism.genExemptionBlob(byte[] output, int outputOffset)
byte[]
Generate the shared secret in a new byte array.
int
KeyAgreement.generateSecret(byte[] sharedSecret, int offset)
Generate the shared secret and store it into the supplied array.
SecretKey
Generate the shared secret and return it as an appropriate SecretKey.
int
Cipher.getOutputSize(int inputLength)
Returns the size an output buffer needs to be if this cipher is updated with a number of bytes.
int
Key
Cipher.unwrap(byte[] wrappedKey, String wrappedKeyAlgorithm, int wrappedKeyType)
Unwrap a previously-wrapped key.
void
Mac.update(byte input)
Update the computation with a single byte.
byte[]
Cipher.update(byte[] input)
Continue a multi-part transformation on an entire byte array, returning the transformed bytes.
void
Mac.update(byte[] input)
Update the computation with a byte array.
byte[]
Cipher.update(byte[] input, int inputOffset, int inputLength)
Continue a multi-part transformation on part of a byte array, returning the transformed bytes.
void
Mac.update(byte[] input, int offset, int length)
Update the computation with a portion of a byte array.
int
Cipher.update(byte[] input, int inputOffset, int inputLength, byte[] output)
Continue a multi-part transformation on part of a byte array, placing the transformed bytes into the given array.
int
Cipher.update(byte[] input, int inputOffset, int inputLength, byte[] output, int outputOffset)
Continue a multi-part transformation on part of a byte array, placing the transformed bytes into the given array.
byte[]
Wrap a key.

Uses in package javax.sound.midi

Methods which throw type java.lang.IllegalStateException

void
Receiver.send(MidiMessage message, long timeStamp)
Send a MIDI message and timestamp.

Uses in package java.util.regex

Methods which throw type java.lang.IllegalStateException

Matcher
int
int
Matcher.end(int group)
String
Matcher.group(int group)
int
int
Matcher.start(int group)

Uses in package javax.swing.text.html

Methods which throw type java.lang.IllegalStateException

HTMLEditorKit.ParserCallback
HTMLDocument.getInsertingReader(int pos, int popDepth, int pushDepth, HTML.Tag insertTag, Element parent)
Gets the reader for the parser to use when inserting the HTML fragment into the document.

Uses in package java.util.jar

Methods which throw type java.lang.IllegalStateException

Enumeration
Returns a enumeration of all the entries in the JarFile.

Uses in package java.nio.channels

Classes derived from java.lang.IllegalStateException

class
class
class
class
class
class
class
class
class
class
class

Uses in package javax.transaction

Methods which throw type java.lang.IllegalStateException

void
void
boolean
boolean
void
void
void
void
void
void
void
void

Uses in package java.awt.dnd

Classes derived from java.lang.IllegalStateException

class
Thrown when a method in the java.awt.dnd package is unable to perform a requested operation, usually because the underlying DnD system is in the wrong state.

Uses in package java.util

Classes derived from java.lang.IllegalStateException

class
Thrown when a method is called on a Formatter but it has already been closed.

Uses in package java.nio

Classes derived from java.lang.IllegalStateException

class

Uses in package javax.swing

Methods which throw type java.lang.IllegalStateException

void
Exports the property of the component c that was specified for this TransferHandler to the clipboard, performing the specified action.