Uses of Class java.lang.IllegalArgumentException

Uses in package java.net

Constructors which throw type java.lang.IllegalArgumentException

Constructs an InetSocketAddress instance.
Constructs an InetSocketAddress instance.

Methods which throw type java.lang.IllegalArgumentException

Package
Defines a Package based on the given name and the supplied manifest information.
URI
Resolves the given URI string against this URI
void
Set the connection timeout speed, in milliseconds, or zero if the timeout is to be considered infinite.
void
Set the read timeout, in milliseconds, or zero if the timeout is to be considered infinite.
void
Sets the address of the remote host this package will be sent
URL
Creates an URL from an URI

Uses in package java.beans

Methods which throw type java.lang.IllegalArgumentException

void
Set the value of this property using a String.
void
Sets the value as text.

Uses in package gnu.xml.stream

Methods which throw type java.lang.IllegalArgumentException

Object
Returns the implementation-specific feature or property of the given name.
Object
Returns the implementation-specific property of the given name.
Object
Object
Returns the implementation-specific feature or property of the given name.
Object
Returns the implementation-specific feature or property of the given name.
void
Sets the implementation-specific property of the given name.
void

Uses in package gnu.java.security.sig.dss

Methods which throw type java.lang.IllegalArgumentException

void
void

Uses in package javax.xml.stream

Methods which throw type java.lang.IllegalArgumentException

Object
Returns the implementation-specific feature or property of the given name.
Object
Returns the implementation-specific property of the given name.
Object
Returns the implementation-specific property of the given name.
Object
Returns the implementation-specific feature or property of the given name.
Object
Returns the implementation-specific feature or property of the given name.
void
Sets the implementation-specific property of the given name.
void
Sets the implementation-specific property of the given name.

Uses in package gnu.java.awt.color

Methods which throw type java.lang.IllegalArgumentException

void
Verify that the header is valid

Uses in package java.awt

Constructors which throw type java.lang.IllegalArgumentException

Scrollbar.Scrollbar(int orientation)
Initializes a new instance of Scrollbar with the specified orientation and default values for all other parameters.
Scrollbar.Scrollbar(int orientation, int value, int visibleAmount, int minimum, int maximum)
Initializes a new instance of Scrollbar with the specified parameters.

Methods which throw type java.lang.IllegalArgumentException

void
List.delItem(int index)
Deletes the item at the specified index.
void
List.delItems(int start, int end)
Deletes all items in the specified index range.
void
List.makeVisible(int index)
This method ensures that the item at the specified index is visible.
void
List.remove(int index)
Deletes the item at the specified index.
void
Deletes the first occurrence of the specified item from the list.
void
Sets the scroll position to the specified value.

Uses in package java.math

Methods which throw type java.lang.IllegalArgumentException

BigDecimal
Performs division, if the resulting quotient requires rounding (has a nonterminating decimal expansion), an ArithmeticException is thrown.
BigDecimal
BigDecimal.divide(BigDecimal val, int roundingMode)
BigDecimal
BigDecimal.divide(BigDecimal val, int newScale, int roundingMode)
BigDecimal
BigDecimal.setScale(int scale, int roundingMode)

Uses in package java.nio.channels

Classes derived from java.lang.IllegalArgumentException

class
class
class

Uses in package java.lang

Classes derived from java.lang.IllegalArgumentException

class
Thrown When trying to manipulate a Thread which is in an inappropriate state.
class
Can be thrown when attempting to convert a String to one of the numeric types, but the operation fails because the string has the wrong format.

Uses in package javax.xml.transform.sax

Methods which throw type java.lang.IllegalArgumentException

void
Sets the result sink to be used as the output of the transformation.

Uses in package javax.swing.plaf.synth

Methods which throw type java.lang.IllegalArgumentException

void
SynthLookAndFeel.load(InputStream in, Class resourceBase)
Loads a set of SynthStyles that are used for the look and feel of the components.

Uses in package gnu.xml.dom

Methods which throw type java.lang.IllegalArgumentException

Object
There seems to be no useful specification for attribute names
void
There seems to be no useful specification for attribute names

Uses in package javax.swing.text.html

Methods which throw type java.lang.IllegalArgumentException

float
Determines the maximum span along the axis.
float
Determines the minimum span along the axis.
float
Determines the preferred span along the axis.
int
Gets the resize weight.

Uses in package javax.security.auth.callback

Constructors which throw type java.lang.IllegalArgumentException

ConfirmationCallback.ConfirmationCallback(int messageType, int optionType, int defaultOption)
Construct a ConfirmationCallback with a message type, an option type and a default option.

Underlying security services use this constructor if they require either a YES/NO, YES/NO/CANCEL or OK/CANCEL confirmation.

NameCallback.NameCallback(String prompt, String defaultName)
Construct a NameCallback with a prompt and default name.
Construct a TextInputCallback with a prompt.
Construct a TextInputCallback with a prompt and default input value.
TextOutputCallback.TextOutputCallback(int messageType, String message)
Construct a TextOutputCallback with a message type and message to be displayed.

Uses in package java.nio.charset

Classes derived from java.lang.IllegalArgumentException

class
class

Uses in package javax.xml.stream.util

Methods which throw type java.lang.IllegalArgumentException

Object
Returns the implementation-specific feature or property of the given name.

Uses in package java.lang.reflect

Methods which throw type java.lang.IllegalArgumentException

Object
Method.invoke(Object obj, java.lang.Object... args)
Invoke the method.
T
Constructor<T>.newInstance(java.lang.Object... args)
Create a new instance by invoking the constructor.
void
Field.setLong(Object obj, long l)
Set this long Field.

Uses in package java.awt.image

Constructors which throw type java.lang.IllegalArgumentException

ByteLookupTable.ByteLookupTable(int offset, byte[] data)
Creates a new ByteLookupTable instance.
ByteLookupTable.ByteLookupTable(int offset, byte[][] data)
Creates a new ByteLookupTable instance.
Kernel.Kernel(int width, int height, float[] data)
Creates a new Kernel instance with the specified dimensions and values.
LookupTable.LookupTable(int offset, int numComponents)
Creates a new LookupTable instance.
ShortLookupTable.ShortLookupTable(int offset, short[] data)
Creates a new ShortLookupTable instance.
ShortLookupTable.ShortLookupTable(int offset, short[][] data)
Creates a new ShortLookupTable instance.

Methods which throw type java.lang.IllegalArgumentException

float[]
Kernel.getKernelData(float[] data)
Returns an array containing a copy of the kernel data.

Uses in package java.awt.print

Methods which throw type java.lang.IllegalArgumentException

void
PageFormat.setOrientation(int orientation)
This method sets the page orientation for this format to the specified value.

Uses in package gnu.javax.crypto.assembly

Methods which throw type java.lang.IllegalArgumentException

Object
Adds to the end of the current chain, a designated Stage.
Object
Cascade.insert(int index, Stage stage)
Inserts a Stage into the current chain, at the specified index (zero-based) position.
Object
Adds to the begining of the current chain, a designated Stage.

Uses in package java.text

Methods which throw type java.lang.IllegalArgumentException

String
This method formats an Object into a String.
StringBuffer
This method formats an Object into a String and appends the String to a StringBuffer.
AttributedCharacterIterator
char
This method sets the value of the index to the specified value, then returns the character at that position.

Uses in package gnu.java.security.sig

Methods which throw type java.lang.IllegalArgumentException

void
void
void
Initialises this instance for signature generation.
void
Initialises this instance for signature generation.
void
Initialises this instance for signature verification.
void
Initialises this instance for signature verification.

Uses in package gnu.xml.transform

Methods which throw type java.lang.IllegalArgumentException

Object
void
void

Uses in package java.util.jar

Constructors which throw type java.lang.IllegalArgumentException

Creates a new JarEntry with the specified name and no attributes or or certificates.
JarFile.JarFile(File file, boolean verify, int mode)
Creates a new JarFile with the indicated mode.
Creates a new Name from the given String.

Uses in package javax.management.openmbean

Classes derived from java.lang.IllegalArgumentException

class
Thrown when an invalid key (a field name or row index) is passed to a method of the CompositeData or TabularData classes.
class
Thrown when a open data value has an erroneous open type.
class
Thrown when a key (a field name or row index) is passed to a method of the CompositeData or TabularData classes and it is found to already be in use.

Uses in package java.sql

Methods which throw type java.lang.IllegalArgumentException

int
This method always throws an IllegalArgumentException.
int
This method always throws an IllegalArgumentException.
int
This method always throws an IllegalArgumentException.
int
This method always throws an IllegalArgumentException.
int
This method always throws an IllegalArgumentException.
int
This method always throws an IllegalArgumentException.
int
This method always throws an IllegalArgumentException.
void
Time.setDate(int newValue)
This method always throws an IllegalArgumentException.
void
Date.setHours(int newValue)
This method always throws an IllegalArgumentException.
void
Date.setMinutes(int newValue)
This method always throws an IllegalArgumentException.
void
Time.setMonth(int newValue)
This method always throws an IllegalArgumentException.
void
Date.setSeconds(int newValue)
This method always throws an IllegalArgumentException.
void
Time.setYear(int newValue)
This method always throws an IllegalArgumentException.

Uses in package javax.crypto

Constructors which throw type java.lang.IllegalArgumentException

EncryptedPrivateKeyInfo.EncryptedPrivateKeyInfo(String algName, byte[] encryptedData)
Create a new EncryptedPrivateKeyInfo from the cipher name and the encrytpedData.
Create a new EncryptedPrivateKeyInfo object from raw encrypted data and the parameters used for encryption.

Uses in package javax.xml.transform

Methods which throw type java.lang.IllegalArgumentException

Object
Retrieve the specified named attribute value.
String
Returns the value of an output property for the transformation.
void
Set a named attribute on the underlying implementation.
void
Sets the callback used to report errors during the transformation.
void
Sets the callback to be used by transformers obtained from this factory to report transformation errors.
void
Sets the output properties for the transformation, overriding any properties defined in the stylesheet.
void
Sets an output property for the transformation, overriding any property of the same name defined in the stylesheet.

Uses in package javax.xml.parsers

Methods which throw type java.lang.IllegalArgumentException

Object
Retrieves the named attribute value from the underlying implementation.
void
Set the named attribute on the underlying implementation.

Uses in package javax.management

Methods which throw type java.lang.IllegalArgumentException

void
Registers the specified listener as a new recipient of notifications from the delegate.
void
Registers the specified listener as a new recipient of notifications from this bean.
void
Registers the specified listener as a new recipient of notifications from this bean.

Uses in package gnu.javax.crypto.keyring

Methods which throw type java.lang.IllegalArgumentException

void
EncryptedEntry.decrypt(byte[] key, byte[] iv)
void

Uses in package javax.sound.midi.spi

Methods which throw type java.lang.IllegalArgumentException

MidiDevice
Get the MidiDevice for the MIDI device described by info

Uses in package java.io

Constructors which throw type java.lang.IllegalArgumentException

Creates a new PipedInputStream of the given size that is not connected to a PipedOutputStream.

Methods which throw type java.lang.IllegalArgumentException

boolean
boolean
ObjectInputStream.GetField.get(String name, boolean defvalue)
byte
ObjectInputStream.GetField.get(String name, byte defvalue)
char
ObjectInputStream.GetField.get(String name, char defvalue)
double
ObjectInputStream.GetField.get(String name, double defvalue)
float
ObjectInputStream.GetField.get(String name, float defvalue)
int
ObjectInputStream.GetField.get(String name, int defvalue)
Object
long
ObjectInputStream.GetField.get(String name, long defvalue)
short
ObjectInputStream.GetField.get(String name, short defvalue)

Uses in package gnu.java.security.sig.rsa

Methods which throw type java.lang.IllegalArgumentException

void
void
void
void

Uses in package java.util

Classes derived from java.lang.IllegalArgumentException

class
Thrown when the flags supplied to the Formatter.format() method of a Formatter contain duplicates.
class
Thrown when the flags supplied to the Formatter.format() method of a Formatter contains a flag that does not match the conversion character specified for it.
class
Thrown when a Formatter receives a character with an invalid Unicode codepoint, as defined by Character.isValidCodePoint(int).
class
Thrown when the type of an argument supplied to the Formatter.format() method of a Formatter does not match the conversion character specified for it.
class
A general exception thrown when a format string is supplied to a Formatter that contains either invalid syntax or a mismatch between the format specification and the supplied arguments.
class
Thrown when the flags supplied to the Formatter.format() method of a Formatter form an illegal combination.
class
Thrown when the specified precision for a Formatter argument is illegal.
class
Thrown when the specified width for a Formatter argument is illegal.
class
Thrown when the a format specification for a Formatter refers to an argument that is non-existent, or an argument index references a non-existent argument.
class
Thrown when the a format specification for a Formatter does not include a width for a value where one is required.
class
Thrown when a Formatter is supplied with an unknown conversion.
class
Thrown when a Formatter is supplied with an unknown flag.

Methods which throw type java.lang.IllegalArgumentException

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.
Scanner
Scanner.useRadix(int radix)
Sets the current radix to the current value if the given radix is >= 2 and <= 36 otherwise an IllegalArgumentException is thrown.

Uses in package java.security

Classes derived from java.lang.IllegalArgumentException

class
Thrown when an invalid parameter is passed to a method of the JCA/JCE engine classes.

Uses in package javax.swing

Methods which throw type java.lang.IllegalArgumentException

void
Sets the index of the character in the text that will be underlined to indicate that it is the mnemonic character for the label.

Uses in package gnu.java.net.protocol.http

Methods which throw type java.lang.IllegalArgumentException

void
Set the read timeout, in milliseconds, or zero if the timeout is to be considered infinite.

Uses in package java.util.regex

Classes derived from java.lang.IllegalArgumentException

class
Indicates illegal pattern for regular expression.

Uses in package gnu.java.beans.editors

Methods which throw type java.lang.IllegalArgumentException

void
setAsText for Color checks for standard color names and then checks for a #RRGGBB value or just RRGGBB, both in hex.
void
setAsText for Font calls Font.decode().
void
setAsText for boolean checks for true or false or t or f.
void
setAsText for byte calls Byte.valueOf().
void
setAsText for double calls Double.valueOf().
void
setAsText for float calls Float.valueOf().
void
setAsText for int calls Integer.valueOf().
void
setAsText for long calls Long.valueOf().
void
setAsText for short calls Short.valueOf().
void
setAsText just sets the value.

Uses in package java.util.logging

Methods which throw type java.lang.IllegalArgumentException

Level
Returns one of the standard Levels given either its name or its integer value.