JavaTM 2 Platform
Std. Ed. v1.4.2

Uses of Class
java.lang.IllegalArgumentException

Packages that use IllegalArgumentException
java.awt.print Provides classes and interfaces for a general printing API. 
java.beans Contains classes related to developing beans -- components based on the JavaBeansTM architecture. 
java.beans.beancontext Provides classes and interfaces relating to bean context. 
java.lang Provides classes that are fundamental to the design of the Java programming language. 
java.lang.ref Provides reference-object classes, which support a limited degree of interaction with the garbage collector. 
java.lang.reflect Provides classes and interfaces for obtaining reflective information about classes and objects. 
java.net Provides the classes for implementing networking applications. 
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.charset Defines charsets, decoders, and encoders, for translating between bytes and Unicode characters. 
java.security Provides the classes and interfaces for the security framework. 
java.util.logging Provides the classes and interfaces of the JavaTM 2 platform's core logging facilities. 
java.util.regex Classes for matching character sequences against patterns specified by regular expressions. 
javax.net.ssl Provides classes for the secure socket package. 
javax.swing Provides a set of "lightweight" (all-Java language) components that, to the maximum degree possible, work the same on all platforms. 
javax.xml.parsers Provides classes allowing the processing of XML documents. 
javax.xml.transform This package defines the generic APIs for processing transformation instructions, and performing a transformation from source to result. 
javax.xml.transform.sax This package implements SAX2-specific transformation APIs. 
 

Uses of IllegalArgumentException in java.awt.print
 

Methods in java.awt.print that throw IllegalArgumentException
 void PageFormat.setOrientation(int orientation)
          Sets the page orientation.
 

Uses of IllegalArgumentException in java.beans
 

Methods in java.beans that throw IllegalArgumentException
 void PropertyEditorSupport.setAsText(String text)
          Sets the property value by parsing a given String.
 void PropertyEditor.setAsText(String text)
          Set the property value by parsing a given String.
 

Uses of IllegalArgumentException in java.beans.beancontext
 

Methods in java.beans.beancontext that throw IllegalArgumentException
 InputStream BeanContext.getResourceAsStream(String name, BeanContextChild bcc)
          Analagous to java.lang.ClassLoader.getResourceAsStream(), this method allows a BeanContext implementation to interpose behavior between the child Component and underlying ClassLoader.
 URL BeanContext.getResource(String name, BeanContextChild bcc)
          Analagous to java.lang.ClassLoader.getResource(), this method allows a BeanContext implementation to interpose behavior between the child Component and underlying ClassLoader.
 

Uses of IllegalArgumentException in java.lang
 

Subclasses of IllegalArgumentException in java.lang
 class IllegalThreadStateException
          Thrown to indicate that a thread is not in an appropriate state for the requested operation.
 class NumberFormatException
          Thrown to indicate that the application has attempted to convert a string to one of the numeric types, but that the string does not have the appropriate format.
 

Methods in java.lang that throw IllegalArgumentException
protected  Package ClassLoader.definePackage(String name, String specTitle, String specVersion, String specVendor, String implTitle, String implVersion, String implVendor, URL sealBase)
          Defines a package by name in this ClassLoader.
 

Uses of IllegalArgumentException in java.lang.ref
 

Methods in java.lang.ref that throw IllegalArgumentException
 Reference ReferenceQueue.remove(long timeout)
          Removes the next reference object in this queue, blocking until either one becomes available or the given timeout period expires.
 

Uses of IllegalArgumentException in java.lang.reflect
 

Methods in java.lang.reflect that throw IllegalArgumentException
static Class Proxy.getProxyClass(ClassLoader loader, Class[] interfaces)
          Returns the java.lang.Class object for a proxy class given a class loader and an array of interfaces.
static Object Proxy.newProxyInstance(ClassLoader loader, Class[] interfaces, InvocationHandler h)
          Returns an instance of a proxy class for the specified interfaces that dispatches method invocations to the specified invocation handler.
static InvocationHandler Proxy.getInvocationHandler(Object proxy)
          Returns the invocation handler for the specified proxy instance.
static Object Array.newInstance(Class componentType, int[] dimensions)
          Creates a new array with the specified component type and dimensions.
static int Array.getLength(Object array)
          Returns the length of the specified array object, as an int.
static Object Array.get(Object array, int index)
          Returns the value of the indexed component in the specified array object.
static boolean Array.getBoolean(Object array, int index)
          Returns the value of the indexed component in the specified array object, as a boolean.
static byte Array.getByte(Object array, int index)
          Returns the value of the indexed component in the specified array object, as a byte.
static char Array.getChar(Object array, int index)
          Returns the value of the indexed component in the specified array object, as a char.
static short Array.getShort(Object array, int index)
          Returns the value of the indexed component in the specified array object, as a short.
static int Array.getInt(Object array, int index)
          Returns the value of the indexed component in the specified array object, as an int.
static long Array.getLong(Object array, int index)
          Returns the value of the indexed component in the specified array object, as a long.
static float Array.getFloat(Object array, int index)
          Returns the value of the indexed component in the specified array object, as a float.
static double Array.getDouble(Object array, int index)
          Returns the value of the indexed component in the specified array object, as a double.
static void Array.set(Object array, int index, Object value)
          Sets the value of the indexed component of the specified array object to the specified new value.
static void Array.setBoolean(Object array, int index, boolean z)
          Sets the value of the indexed component of the specified array object to the specified boolean value.
static void Array.setByte(Object array, int index, byte b)
          Sets the value of the indexed component of the specified array object to the specified byte value.
static void Array.setChar(Object array, int index, char c)
          Sets the value of the indexed component of the specified array object to the specified char value.
static void Array.setShort(Object array, int index, short s)
          Sets the value of the indexed component of the specified array object to the specified short value.
static void Array.setInt(Object array, int index, int i)
          Sets the value of the indexed component of the specified array object to the specified int value.
static void Array.setLong(Object array, int index, long l)
          Sets the value of the indexed component of the specified array object to the specified long value.
static void Array.setFloat(Object array, int index, float f)
          Sets the value of the indexed component of the specified array object to the specified float value.
static void Array.setDouble(Object array, int index, double d)
          Sets the value of the indexed component of the specified array object to the specified double value.
 Object Method.invoke(Object obj, Object[] args)
          Invokes the underlying method represented by this Method object, on the specified object with the specified parameters.
 Object Field.get(Object obj)
          Returns the value of the field represented by this Field, on the specified object.
 boolean Field.getBoolean(Object obj)
          Gets the value of a static or instance boolean field.
 byte Field.getByte(Object obj)
          Gets the value of a static or instance byte field.
 char Field.getChar(Object obj)
          Gets the value of a static or instance field of type char or of another primitive type convertible to type char via a widening conversion.
 short Field.getShort(Object obj)
          Gets the value of a static or instance field of type short or of another primitive type convertible to type short via a widening conversion.
 int Field.getInt(Object obj)
          Gets the value of a static or instance field of type int or of another primitive type convertible to type int via a widening conversion.
 long Field.getLong(Object obj)
          Gets the value of a static or instance field of type long or of another primitive type convertible to type long via a widening conversion.
 float Field.getFloat(Object obj)
          Gets the value of a static or instance field of type float or of another primitive type convertible to type float via a widening conversion.
 double Field.getDouble(Object obj)
          Gets the value of a static or instance field of type double or of another primitive type convertible to type double via a widening conversion.
 void Field.set(Object obj, Object value)
          Sets the field represented by this Field object on the specified object argument to the specified new value.
 void Field.setBoolean(Object obj, boolean z)
          Sets the value of a field as a boolean on the specified object.
 void Field.setByte(Object obj, byte b)
          Sets the value of a field as a byte on the specified object.
 void Field.setChar(Object obj, char c)
          Sets the value of a field as a char on the specified object.
 void Field.setShort(Object obj, short s)
          Sets the value of a field as a short on the specified object.
 void Field.setInt(Object obj, int i)
          Sets the value of a field as an int on the specified object.
 void Field.setLong(Object obj, long l)
          Sets the value of a field as a long on the specified object.
 void Field.setFloat(Object obj, float f)
          Sets the value of a field as a float on the specified object.
 void Field.setDouble(Object obj, double d)
          Sets the value of a field as a double on the specified object.
 Object Constructor.newInstance(Object[] initargs)
          Uses the constructor represented by this Constructor object to create and initialize a new instance of the constructor's declaring class, with the specified initialization parameters.
 

Uses of IllegalArgumentException in java.net
 

Methods in java.net that throw IllegalArgumentException
protected  Package URLClassLoader.definePackage(String name, Manifest man, URL url)
          Defines a new package by name in this ClassLoader.
 

Uses of IllegalArgumentException in java.nio.channels
 

Subclasses of IllegalArgumentException in java.nio.channels
 class IllegalSelectorException
          Unchecked exception thrown when an attempt is made to register a channel with a selector that was not created by the provider that created the channel.
 class UnresolvedAddressException
          Unchecked exception thrown when an attempt is made to invoke a network operation upon an unresolved socket address.
 class UnsupportedAddressTypeException
          Unchecked exception thrown when an attempt is made to bind or connect to a socket address of a type that is not supported.
 

Uses of IllegalArgumentException in java.nio.charset
 

Subclasses of IllegalArgumentException in java.nio.charset
 class IllegalCharsetNameException
          Unchecked exception thrown when a string that is not a legal charset name is used as such.
 class UnsupportedCharsetException
          Unchecked exception thrown when no support is available for a requested charset.
 

Uses of IllegalArgumentException in java.security
 

Subclasses of IllegalArgumentException in java.security
 class InvalidParameterException
          This exception, designed for use by the JCA/JCE engine classes, is thrown when an invalid parameter is passed to a method.
 

Uses of IllegalArgumentException in java.util.logging
 

Methods in java.util.logging that throw IllegalArgumentException
static Level Level.parse(String name)
          Parse a level name string into a Level.
 

Constructors in java.util.logging that throw IllegalArgumentException
LoggingPermission(String name, String actions)
          Creates a new LoggingPermission object.
 

Uses of IllegalArgumentException in java.util.regex
 

Subclasses of IllegalArgumentException in java.util.regex
 class PatternSyntaxException
          Unchecked exception thrown to indicate a syntax error in a regular-expression pattern.
 

Uses of IllegalArgumentException in javax.net.ssl
 

Methods in javax.net.ssl that throw IllegalArgumentException
 void SSLSessionContext.setSessionTimeout(int seconds)
          Sets the timeout limit for SSLSession objects grouped under this SSLSessionContext.
 void SSLSessionContext.setSessionCacheSize(int size)
          Sets the size of the cache used for storing SSLSession objects grouped under this SSLSessionContext.
 

Uses of IllegalArgumentException in javax.swing
 

Methods in javax.swing that throw IllegalArgumentException
 void JLabel.setDisplayedMnemonicIndex(int index)
          Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.
 Popup PopupFactory.getPopup(Component owner, Component contents, int x, int y)
          Creates a Popup for the Component owner containing the Component contents.
 void AbstractButton.setDisplayedMnemonicIndex(int index)
          Provides a hint to the look and feel as to which character in the text should be decorated to represent the mnemonic.
 

Uses of IllegalArgumentException in javax.xml.parsers
 

Methods in javax.xml.parsers that throw IllegalArgumentException
abstract  void DocumentBuilderFactory.setAttribute(String name, Object value)
          Allows the user to set specific attributes on the underlying implementation.
abstract  Object DocumentBuilderFactory.getAttribute(String name)
          Allows the user to retrieve specific attributes on the underlying implementation.
 

Uses of IllegalArgumentException in javax.xml.transform
 

Methods in javax.xml.transform that throw IllegalArgumentException
abstract  void TransformerFactory.setAttribute(String name, Object value)
          Allows the user to set specific attributes on the underlying implementation.
abstract  Object TransformerFactory.getAttribute(String name)
          Allows the user to retrieve specific attributes on the underlying implementation.
abstract  void TransformerFactory.setErrorListener(ErrorListener listener)
          Set the error event listener for the TransformerFactory, which is used for the processing of transformation instructions, and not for the transformation itself.
abstract  void Transformer.setOutputProperties(Properties oformat)
          Set the output properties for the transformation.
abstract  void Transformer.setOutputProperty(String name, String value)
          Set an output property that will be in effect for the transformation.
abstract  String Transformer.getOutputProperty(String name)
          Get an output property that is in effect for the transformation.
abstract  void Transformer.setErrorListener(ErrorListener listener)
          Set the error event listener in effect for the transformation.
 

Uses of IllegalArgumentException in javax.xml.transform.sax
 

Methods in javax.xml.transform.sax that throw IllegalArgumentException
 void TransformerHandler.setResult(Result result)
          Enables the user of the TransformerHandler to set the to set the Result for the transformation.
 


JavaTM 2 Platform
Std. Ed. v1.4.2

Submit a bug or feature
For further API reference and developer documentation, see Java 2 SDK SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright © 2003, 2010 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.