private void readObject(ObjectInputStream in) throws IOException, ClassNotFoundException {
  in.defaultReadObject();
  if (cookie == null)   throw new InvalidObjectException("null cookie reference");
  if (landlord == null)   throw new InvalidObjectException("null landlord reference");
  if (landlordUuid == null)   throw new InvalidObjectException("null landlordUuid reference");
}

private void readObject ( ObjectInputStream in ) throws IOException , ClassNotFoundException { in . defaultReadObject ( ) ; if ( cookie == null ) throw new InvalidObjectException ( "null cookie reference" ) ; if ( landlord == null ) throw new InvalidObjectException ( "null landlord reference" ) ; if ( landlordUuid == null ) throw new InvalidObjectException ( "null landlordUuid reference" ) ; }
read this object back validating state .
