Uses of Class java.lang.IllegalStateException

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 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.transaction

Methods which throw type java.lang.IllegalStateException

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

Uses in package java.util.concurrent

Classes derived from java.lang.IllegalStateException

class
Exception indicating that the result of a value-producing task, such as a FutureTask, cannot be retrieved because the task was cancelled.

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 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.nio.channels

Classes derived from java.lang.IllegalStateException

class
class
class
class
class
class
class
class
class
class
class

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.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 java.nio

Classes derived from java.lang.IllegalStateException

class

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.

Methods which throw type java.lang.IllegalStateException

String
Scanner.findWithinHorizon(String pattern, int horizon)
Compile the pattern and call findWithinHorizon(Pattern,int).
String
Scanner.findWithinHorizon(Pattern pattern, int horizon)
Trys to match the pattern within the given horizon.
boolean
Checks if there is any next String using the current delimiter.
boolean
Compiles the pattern to a Pattern and calls hasNext(Pattern).
boolean
Searches the pattern in the next subString before the next current delimiter.
boolean
Checks if the string to the next delimiter can be interpreted as a BigDecimal number.
boolean
Checks if the string to the next delimiter can be interpreted as a BigInteger number.
boolean
Checks if the string to the next delimiter can be interpreted as a BigInteger number.
boolean
Checks if the next string could be a boolean.
boolean
Checks if the string to the next delimiter can be interpreted as a byte number.
boolean
Scanner.hasNextByte(int radix)
Checks if the string to the next delimiter can be interpreted as a byte number with the given radix.
boolean
Checks if the string to the next delimiter can be interpreted as a double number.
boolean
Checks if the string to the next delimiter can be interpreted as a double number.
boolean
Checks if the string to the next delimiter can be interpreted as an int number.
boolean
Scanner.hasNextInt(int radix)
Checks if the string to the next delimiter can be interpreted as an int number with the given radix.
boolean
Checks if there is a current line, which ends at the next line break or the end of the input.
boolean
Checks if the string to the next delimiter can be interpreted as a long number.
boolean
Scanner.hasNextLong(int radix)
Checks if the string to the next delimiter can be interpreted as a long number with the given radix.
boolean
Checks if the string to the next delimiter can be interpreted as a short number with the given radix.
boolean
Scanner.hasNextShort(int radix)
Checks if the string to the next delimiter can be interpreted as a short number.
String
Uses the current delimiter to find the next string in the buffer.
String
Scanner.next(String pattern)
Tries to match the buffer with the given pattern.
String
Scanner.next(Pattern pattern)
Tries to match the buffer with the given pattern.
BigDecimal
Tries to interpret the next string as a BigDecimal value.
BigInteger
Tries to interpret the next string as a BigInteger value.
BigInteger
Tries to interpret the next string as a BigInteger value with the given radix.
boolean
Tries to interpret the next string to the delimiter as a boolean value, ignoring case.
byte
Tries to interpret the next string as a byte value.
byte
Scanner.nextByte(int radix)
Tries to interpret the next string as a byte value with the given radix.
double
Tries to interpret the next string as a double value.
float
Tries to interpret the next string as a double value, and then casts down to float.
int
Tries to interpret the next string as an int value.
int
Scanner.nextInt(int radix)
Tries to interpret the next string as an int value with the given radix.
String
Tries to match the system line seperator, and returns the current line.
long
Tries to interpret the next string as a long value.
long
Scanner.nextLong(int radix)
Tries to interpret the next string as a long value with the given radix.

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.