Example usage for java.io ObjectInputStream defaultReadObject

List of usage examples for java.io ObjectInputStream defaultReadObject

Introduction

In this page you can find the example usage for java.io ObjectInputStream defaultReadObject.

Prototype

public void defaultReadObject() throws IOException, ClassNotFoundException 

Source Link

Document

Read the non-static and non-transient fields of the current class from this stream.

Usage

From source file:org.protempa.ValueClassification.java

private void readObject(ObjectInputStream s) throws IOException, ClassNotFoundException {
    s.defaultReadObject();
    if (value == null) {
        throw new InvalidObjectException("id cannot be null");
    }/*from  ww w  . ja va 2s .c  om*/
    if (lladId == null) {
        throw new InvalidObjectException("lowLevelAbstractionId cannot be null");
    }
    if (lladValue == null) {
        throw new InvalidObjectException("lowLevelValueDefName cannot be null");
    }
}

From source file:SerializableEnumeration.java

private void readObject(java.io.ObjectInputStream in) throws java.io.IOException, ClassNotFoundException {
    in.defaultReadObject();
}

From source file:com.phoenixst.plexus.util.ChildTraverserFactory.java

private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
    in.defaultReadObject();
    if (forest == null) {
        throw new InvalidObjectException("Forest is null.");
    }//from   www  .  jav  a  2  s. c  o m
}

From source file:name.martingeisse.wicket.autoform.describe.DefaultAutoformPropertyDescriptor.java

/**
 * //www  .j  a  va2 s .c  o m
 */
private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();
    try {
        this.propertyDescriptor = PropertyUtils.getPropertyDescriptor(bean, getName());
    } catch (Exception e) {
        throw new RuntimeException(e);
    }
}

From source file:net.sf.nmedit.jtheme.image.ToolkitImageResource.java

private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();
}

From source file:org.altbeacon.beacon.service.Callback.java

@SuppressWarnings("unused")
private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();
}

From source file:com.phoenixst.collections.ContainsPredicate.java

private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
    in.defaultReadObject();
    if (collection == null) {
        throw new InvalidObjectException("Collection is null.");
    }//from  w  w w .  j  a va  2  s  .c o  m
}

From source file:fr.mby.saml2.sp.impl.query.QueryAuthnRequest.java

private void readObject(java.io.ObjectInputStream in) throws IOException, ClassNotFoundException {
    in.defaultReadObject();
    this.loadIdpConnector(this.idpConnectorId);
}

From source file:com.phoenixst.collections.NotPredicate.java

private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
    in.defaultReadObject();
    if (pred == null) {
        throw new InvalidObjectException("Predicate is null.");
    }/*from   w  ww  . ja v a  2s.  com*/
}

From source file:com.phoenixst.collections.InstanceofPredicate.java

private void readObject(ObjectInputStream in) throws ClassNotFoundException, IOException {
    in.defaultReadObject();
    if (testClass == null) {
        throw new InvalidObjectException("Class is null.");
    }/*  ww w .  jav  a 2 s  .com*/
}