Android
java.io
public class

java.io.NotActiveException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.io.IOException
java.io.ObjectStreamException
java.io.NotActiveException

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 this exception to be thrown. The list of methods that are protected this way is:

  • ObjectInputStream.defaultReadObject()
  • ObjectInputStream.registerValidation()
  • ObjectOutputStream.defaultWriteObject()

Summary

Public Constructors

            NotActiveException()
Constructs a new instance of this class with its walkback filled in.
            NotActiveException(String detailMessage)
Constructs a new instance of this class with its walkback and message filled in.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public NotActiveException()

Constructs a new instance of this class with its walkback filled in.

public NotActiveException(String detailMessage)

Constructs a new instance of this class with its walkback and message filled in.

Parameters

detailMessage The detail message for the exception.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:48