private void readObject(ObjectInputStream in)
        throws IOException, ClassNotFoundException {

        in.defaultReadObject();

        if (this.offset.getFractionalAmount() != 0) {
            throw new InvalidObjectException("Fractional offset is invalid.");
        }

    }
private void readObject ( ObjectInputStream in ) throws IOException , ClassNotFoundException { in . defaultReadObject ( ) ; if ( this . offset . getFractionalAmount ( ) != 0 ) { throw new InvalidObjectException ( "Fractional offset is invalid." ) ; } }
@serialData  Checks the consistency.
@param       in      object input stream
@throws      InvalidObjectException in case of inconsistencies
@throws      ClassNotFoundException if class-loading fails