Java.IO.NotActiveException Class
Signals that a serialization-related method has been invoked in the wrong place.

See Also: NotActiveException Members

Syntax

[Android.Runtime.Register("java/io/NotActiveException", DoNotGenerateAcw=true)]
public class NotActiveException : ObjectStreamException

Remarks

Signals that a serialization-related method has been invoked in the wrong place. Some methods in ObjectInputStream and ObjectOutputStream can only be called from a nested call to readObject() or writeObject(). Any attempt to call them from another context will cause a NotActiveException to be thrown. The list of methods that are protected this way is:

[Android Documentation]

Requirements

Namespace: Java.IO
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1