java.io

Class NotActiveException

Implemented Interfaces:
Serializable

public class NotActiveException
extends ObjectStreamException

Thrown when serialization or deserialization is not active.
Since:
JDK1.1
See Also:
Serialized Form

Constructor Summary

NotActiveException()
Constructor to create a new NotActiveException without a reason.
NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given.

Method Summary

Methods inherited from class java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

NotActiveException

public NotActiveException()
Constructor to create a new NotActiveException without a reason.
Usages and Demos :

View More Examples of NotActiveException()
   1:     } else {
   2:       throw new NotActiveException();
   3:     }
   4:         ...
   5:     } else {
   6:       throw new NotActiveException();
   7:     }
   8:         ...
   9:     } else {
  10:       throw new NotActiveException();
  11:     }

View Full Code Here

NotActiveException

public NotActiveException(String reason)
Constructor to create a new NotActiveException with the reason given.
Parameters:
reason - a String describing the reason for the exception.
Usages and Demos :

View More Examples of NotActiveException(String reason)
   1:       if (currentClassDescription == null) {
   2:         throw new NotActiveException("defaultReadObject");
   3:       }
   4:       if (currentClassDescription.fieldsQuick != null) {
   5:         _readValues(currentClassDescription);

View Full Code Here