|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
oracle.adfnmc.java.io.ObjectStreamException
oracle.adfnmc.java.io.NotSerializableException
public class NotSerializableException
When an implementation of ObjectOutput.writeObject() is passed an object that is not serializable, it will throw this type of exception. This can happen if the object does not implement Serializable or Externalizable, or if it is Serializable but it overrides writeObject(ObjectOutputStream) and explicitely decides it wants to prevent serialization, by throwing this type of exception.
ObjectOutputStream.writeObject(Object)
,
ObjectOutput.writeObject(Object)
Constructor Summary | |
---|---|
NotSerializableException()
Constructs a new instance of this class with its walkback filled in. |
|
NotSerializableException(java.lang.String detailMessage)
Constructs a new instance of this class with its walkback and message filled in. |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public NotSerializableException()
public NotSerializableException(java.lang.String detailMessage)
detailMessage
- The detail message for the exception.
|
Oracle Fusion Middleware Java API Reference for Oracle ADF Mobile Client 11g Release 1 (11.1.1) E17503-02 |
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |