Java In A Nutshell, 5th Edition

IllegalArgumentException java.lang

Java 1.0 serializable unchecked

Signals an illegal argument to a method. See subclasses IllegalThreadStateException and NumberFormatException .

Figure 10-26. java.lang.IllegalArgumentException

public class IllegalArgumentException extends RuntimeException { // Public Constructors public IllegalArgumentException ( ); 5.0 public IllegalArgumentException (Throwable cause ); public IllegalArgumentException (String s ); 5.0 public IllegalArgumentException (String message , Throwable cause ); }

Subclasses

IllegalThreadStateException , NumberFormatException , java.nio.channels.IllegalSelectorException , java.nio.channels.UnresolvedAddressException , java.nio.channels.UnsupportedAddressTypeException , java.nio.charset.IllegalCharsetNameException , java.nio.charset.UnsupportedCharsetException , java.security.InvalidParameterException , java.util.IllegalFormatException , java.util.regex.PatternSyntaxException

Thrown By

Too many methods to list.

Категории