code: static void assertTrue(boolean condition, String internalErrorMesg)
    throws SFException
    {
      if (!condition)
      {
        throw new SFException(ErrorCode.INTERNAL_ERROR, internalErrorMesg);
      }
    }
docs: Assert the condition is true, otherwise throw an internal error
  exception with the given message.
  
  @param condition
  @param internalErrorMesg
  @throws SFException