code: @Override
      protected final void checkIntegrity () throws InternetSCSIException {
  
          String exceptionMessage;
  
          do {
              if (protocolDataUnit.getBasicHeaderSegment().isFinalFlag() && continueFlag) {
                  exceptionMessage = "Final and Continue Flag cannot be set at the same time.";
                  break;
              }
  
              // message is checked correctly
              return;
          } while (false);
  
          throw new InternetSCSIException(exceptionMessage);
      }
docs: {@inheritDoc}