Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint
Share this Page URL
Help

10. java.lang and Subpackages > IllegalArgumentException

Name

IllegalArgumentException

Synopsis

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

java.lang.IllegalArgumentException

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,


  

You are currently reading a PREVIEW of this book.

                                                                                                                    

Get instant access to over $1 million worth of books and videos.

  

Start a Free 10-Day Trial


  
  • Safari Books Online
  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • PrintPrint