NotActiveException


NotActiveException java.io

Java 1.1 serializable checked

This exception is thrown in several circumstances. It indicates that the invoked method was not invoked at the right time or in the correct context. Typically, it means that an ObjectOutputStream or ObjectInputStream is not currently active and therefore the requested operation cannot be performed.

Figure 9-33. java.io.NotActiveException

 public class  NotActiveException  extends ObjectStreamException {  // Public Constructors  public  NotActiveException  ( );        public  NotActiveException  (String  reason  );   } 

Thrown By

ObjectInputStream.registerValidation( )



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