private void throwExceptionIfDestroyed(String method) throws DeepstreamRecordDestroyedException {
  if (this.isDestroyed) {
    throw new DeepstreamRecordDestroyedException(method);
  }
}

private void throwExceptionIfDestroyed ( String method ) throws DeepstreamRecordDestroyedException { if ( this . isDestroyed ) { throw new DeepstreamRecordDestroyedException ( method ) ; } }
throw an exception if the record has been destroyed
