IllegalStateException


IllegalStateException java.lang

Java 1.1 serializable unchecked

Signals that a method has been invoked on an object that is not in an appropriate state to perform the requested operation.

Figure 10-28. java.lang.IllegalStateException

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

Subclasses

java.nio.InvalidMarkException , java.nio.channels.AlreadyConnectedException , java.nio.channels.CancelledKeyException , java.nio.channels.ClosedSelectorException , java.nio.channels.ConnectionPendingException , java.nio.channels.IllegalBlockingModeException , java.nio.channels.NoConnectionPendingException , java.nio.channels.NonReadableChannelException , java.nio.channels.NonWritableChannelException , java.nio.channels.NotYetBoundException , java.nio.channels.NotYetConnectedException , java.nio.channels.OverlappingFileLockException , java.util.FormatterClosedException , java.util.concurrent.CancellationException

Thrown By

Too many methods to list.



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net